Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource

JavaScript

Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<main id="main">
     <div class="container">
     <div class="header-text">
          <h1 id="title">Eddie Vedder</h1>
          <p class="summary">Eddie Jerome Vedder (born Edward Louis Severson III; December 23, 1964) is an American musician, multi-instrumentalist and singer-songwriter, best known as the lead vocalist, one of three guitarists, and the primary lyricist of the American rock band Pearl Jam. </p>
          <p class="summary summary-bottom">Vedder has been ranked at number 7 on a list of "Best Lead Singers of All Time", compiled by Rolling Stone.</p>
     </div>
     <div class="header-image" id="img-div">
          <img id="image" src="" alt="">
          <figcaption id="img-caption">`</figcaption>
     </div>
     <div class="content1">
          <h2 class="quote-eddie">“I think music is the greatest art form that exists, and I think people listen to music for different reasons, and it serves different purposes. The best songs are the ones that make you feel something”. Eddie Vedder</h2>
     </div>
     <div class="content2">
          <h2 id="tribute-info">Musical Projects:</h2>
          <h3>Temple of the Dog</h3>
          <p class="main-paragraphs">Temple of the Dog was an American rock supergroup that formed in Seattle, Washington in 1990. It was conceived by vocalist Chris Cornell of Soundgarden as a tribute to his friend, the late Andrew Wood, lead singer of the bands Malfunkshun and Mother Love Bone. The lineup included Stone Gossard on rhythm guitar, Jeff Ament on bass guitar (both ex-members of Mother Love Bone and later Pearl Jam), Mike McCready (Pearl Jam) on lead guitar, and Matt Cameron (Soundgarden and later Pearl Jam) on drums. Eddie Vedder appeared as a guest to provide some lead and backing vocals. </p>

          <h3>Pearl Jam</h3>
          <p class="main-paragraphs">Pearl Jam was formed in 1990 by Ament, Gossard, and McCready,[19] who then recruited Vedder and three different drummers in sequence.[9][25][26] The band originally took the name Mookie Blaylock, but was forced to change it when the band signed to Epic Records in 1991, instead calling their debut album Ten, after Blaylock's jersey number. </p>

          <h3>Soundtrack contributions</h3>
          <p class="main-paragraphs">Vedder has contributed solo material to several soundtracks and compilations, including the soundtracks for the films Dead Man Walking (1995), I Am Sam (2001), A Brokedown Melody (2004), Body of War (2007), and Reign Over Me (2007). Vedder collaborated with Pakistani musician Nusrat Fateh Ali Khan for his contributions to the Dead Man Walking soundtrack. He covered the Beatles' "You've Got to Hide Your Love Away" for the I Am Sam soundtrack. Vedder wrote "Man of the Hour" that Pearl Jam recorded for Tim Burton's Big Fish Soundtrack (2003)</p>

          <h3>Into the Wild</h3>
          <p class="main-paragraphs">Vedder contributed an album's worth of songs to the soundtrack for the 2007 film, Into the Wild. The soundtrack was released on September 18, 2007 through J Records. It includes covers of the Indio song "Hard Sun" and the Jerry Hannan song "Society".[49] Vedder said that having to write songs based on a narrative "simplified things". He said, "There were fewer choices. The story was there and the scenes were there."</p>

          <h3>Ukulele Songs</h3>
          <p class="main-paragraphs">Vedder released his second solo album titled Ukulele Songs, a collection of original songs and covers performed on the ukulele, on May 31, 2011. The first single from the album, "Longing to Belong", was released through digital retailers on March 21. A live DVD titled Water on the Road, featuring live performances from two shows in Washington, D.C. during Vedder's 2008 solo tour, was released the same day as Ukulele Songs. </p>

          <h3>In film</h3>
          <p class="main-paragraphs">The character of Jackson Maine in the movie 'A Star is Born' was influenced by Eddie Vedder. Bradley Cooper, who wrote the screenplay, produced, directed and starred in the film as Jackson Maine, hung out with Vedder for four or five days to get some tips from him about the character.</p>
     </div>
     <div class="footer">
          <footer><p>Click here for more <a id="tribute-link" target="_blank" href="https://en.wikipedia.org/wiki/Eddie_Vedder">information about Eddie Vedder </a></p></footer>
     </div>
     </div>
</main>
              
            
!

CSS

              
                body {
  background-color: #f7f7f7;
  font-family: "Roboto", sans-serif;
  margin: 0;
  text-align: center;
}
.container {
  width: 90%;
  max-width: 1000px;
  margin: 3% auto;
  display: grid;
  background-color: #f7f7f7;
  gap: 20px 0px;
  grid-template-areas:
    "header-image"
    "header-text"
    "content1"
    "content2"
    "footer";
}

/* Main header */

#title {
  font-size: 50px;
  margin: 100px 20px 0px;
  margin-bottom: 20px;
}

.summary {
  margin: 10px 0px 0px;
  text-align: justify;
  padding: 0% 3%;
  line-height: 1.5rem;
}

.header-text {
  grid-area: header-text;
  background-color: #eeeeee;
}
.header-image {
  grid-area: header-image;
  min-width: 350px;
  min-height: 700px;
  background-image: url("https://raw.githubusercontent.com/aldhairescobar/Tribute-Page-FCC-/master/img/eddie.png");
  background-size: cover;
  background-position: center;
}

/* Quote */

.content1 {
  grid-area: content1;
  background-color: #929aab;
  color: white;
}

.quote-eddie {
  font-size: 1.2rem;
  padding: 0% 3%;
  line-height: 1.5rem;
}

/* main area */

.content2 {
  grid-area: content2;
  background-color: #eeeeee;
  padding: 3% 3% 5%;
}

#tribute-info {
  font-size: 1.8rem;
  margin-bottom: 4rem;
}

.main-paragraphs {
  text-align: justify;
  line-height: 1.5;
}

/* footer */

.footer {
  grid-area: footer;
  background-color: #929aab;
  color: white;
}

@media (min-width: 700px) {
  /* Si tiene 700px o más (estos son los cambios) */
  .container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 700px;
    grid-template-areas:
      "header-text header-image"
      "content1 content1"
      "content2 content2"
      "footer footer";
  }
}
@media (max-width: 400px) {
  /* Si tiene 400px o menos (estos son los cambios) */
  .container {
    width: 95%;
  }
}

@media (max-width: 700px) {
  /* Si tiene 700px o menos (estos son los cambios) */
  #title {
    margin-top: 35px;
  }
  .summary-bottom{
       padding-bottom: 2.2rem;
  }
}

img{
  max-width: 100%;
  display: block;
}
              
            
!

JS

              
                // !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. 

/***********
INSTRUCTIONS:
  - Select the project you would 
    like to complete from the dropdown 
    menu.
  - Click the "RUN TESTS" button to
    run the tests against the blank 
    pen.
  - Click the "TESTS" button to see 
    the individual test cases. 
    (should all be failing at first)
  - Start coding! As you fulfill each
    test case, you will see them go   
    from red to green.
  - As you start to build out your 
    project, when tests are failing, 
    you should get helpful errors 
    along the way!
    ************/

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments. 

              
            
!
999px

Console