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

              
                <head>
  <title>Linkin Park</title>
  <link rel="stylesheet" href="style.css">
  <script src="https://use.fontawesome.com/6c54aeda95.js"></script>
  <link href="https://fonts.googleapis.com/css?family=Montserrat:400,400i,900&display=swap" rel="stylesheet">
</head>
<body id="main">
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

  <header>
    <img src="https://svgshare.com/i/HGh.svg" alt="triangle with all three sides equal"/>
    <h1 id="title">Linkin Park</h1>
    <h4 id="subtitle">One More Light</h4>
  </header>

  <figure id="img-div">
    <img src="https://i.imgur.com/DCsiRKY.jpg" id="image" alt="Linkin Park performing on stage in grayscale picture">
    <figcaption id="img-caption">
      Linkin Park performing their latest album "One More Light" in Berlin year 2010.
    </figcaption>
  </figure>
  <section id="tribute-info">
    <article id="About">
      <h2>About Linkin Park</h2>
      <p>
        In 2003, MTV2 named Linkin Park the sixth-greatest band of the music video era and the third-best of the new millennium. Billboard ranked Linkin Park No. 19 on the Best Artists of the Decade chart. In 2012, the band was voted as the greatest artist of the 2000s in a Bracket Madness poll on VH1. In 2014, the band was declared as the Biggest Rock Band in the World Right Now by Kerrang!. Linkin Park has sold over 75 million records worldwide, making them one of the world's best-selling music artists and has won two Grammy Awards.
      </p>
      <p>
        Having adapted nu metal and rap metal to a radio-friendly yet densely layered style in Hybrid Theory and Meteora, the band explored other genres on their next studio album, Minutes to Midnight (2007). The album topped the Billboard charts and had the third-best debut week of any album that year. The band continued to explore a wider variation of musical types in their fourth album, A Thousand Suns (2010), layering their music with more electronic sounds and beats. Their fifth album, Living Things (2012), combines musical elements from all of their previous records. Their sixth album, The Hunting Party (2014), returned to a heavier rock sound. Their seventh album One More Light, a more electronic and pop-oriented record, was released on May 19, 2017.
      </p>
      <p>
        In 2003, MTV2 named Linkin Park the sixth-greatest band of the music video era and the third-best of the new millennium. Billboard ranked Linkin Park No. 19 on the Best Artists of the Decade chart. In 2012, the band was voted as the greatest artist of the 2000s in a Bracket Madness poll on VH1. In 2014, the band was declared as the Biggest Rock Band in the World Right Now by Kerrang!. Linkin Park has sold over 75 million records worldwide, making them one of the world's best-selling music artists and has won two Grammy Awards.
      </p>
    </article>
    <article id="members">
      <h2>Members</h2>
      <div>
        <figure class="memberlist">
          <img class="memberphoto" src="https://i.imgur.com/fcLl3dN.jpg" alt="Dave Farell">
          <figcaption><strong>Dave Farell</strong><br/>Bass Guitar</figcaption>
        </figure>
        <figure class="memberlist">
          <img class="memberphoto" src="https://i.imgur.com/3gHOqtt.jpg" alt="Chester Bennington">
          <figcaption><strong>Chester Bennington</strong><br/>Vocals</figcaption>
        </figure>
        <figure class="memberlist">
          <img class="memberphoto" src="https://i.imgur.com/jCBtPuG.jpg" alt="Mike Shinoda">
          <figcaption><strong>Mike Shinoda</strong><br/>Pianist</figcaption>
        </figure>
        <figure class="memberlist">
          <img class="memberphoto" src="https://i.imgur.com/9ux3va5.jpg" alt="Brad Delson">
          <figcaption><strong>Brad Delson</strong><br/>Bass Guitar</figcaption>
        </figure>
        <figure class="memberlist">
          <img class="memberphoto" src="https://i.imgur.com/4CqnHt6.jpg" alt="Joe Hahn">
          <figcaption><strong>Joe Hahn</strong><br/>Turntable</figcaption>
        </figure>
        <figure class="memberlist">
          <img class="memberphoto" src="https://i.imgur.com/GukEfxu.jpg" alt="Rob Bourdon">
          <figcaption><strong>Rob Bourdon</strong><br/>Drum</figcaption>
        </figure>
      </div>
    </article>


    <article id="albums">
        <h2>Albums</h2>
        <div>
          <figure class="albumlist">
            <img class="albumart" src="https://i.imgur.com/TMK7GRO.jpg" alt="Hybrid Theory">
            <figcaption><strong>Hybrid Theory</strong><br/>October 24, 2000</figcaption>
          </figure>
          <figure class="albumlist">
            <img class="albumart" src="https://i.imgur.com/eAS1Fbu.jpg" alt="Meteora">
            <figcaption><strong>Meteora</strong><br/>March 23, 2003</figcaption>
          </figure>
          <figure class="albumlist">
            <img class="albumart" src="https://i.imgur.com/KVTCA5U.jpg" alt="Minutes to Midnight">
            <figcaption><strong>Minutes to Midnight</strong><br/>May 14, 2007</figcaption>
          </figure>
          <figure class="albumlist">
            <img class="albumart" src="https://i.imgur.com/qzknbnm.jpg" alt="A Thousand Suns">
            <figcaption><strong>A Thousand Suns</strong><br/>September 8, 2010</figcaption>
          </figure>
          <figure class="albumlist">
            <img class="albumart" src="https://i.imgur.com/Q8wDSPv.jpg" alt="Living Things">
            <figcaption><strong>Living Things</strong><br/>June 12, 2012</figcaption>
          </figure>
          <figure class="albumlist">
            <img class="albumart" src="https://i.imgur.com/pITh6TA.jpg" alt="The Hunting Party">
            <figcaption><strong>The Hunting Party</strong><br/>June 13, 2014</figcaption>
          </figure>
          <figure class="albumlist">
            <img class="albumart" src="https://i.imgur.com/8Ilw2T1.jpg" alt="One More Light">
            <figcaption><strong>One More Light</strong><br/>May 19, 2017</figcaption>
          </figure>
        </div>
    </article>
  </section>

  <footer>
    <h2>Sources</h2>
    <p>More Information about Linkin Park on their <a id="tribute-link" target="_blank" href="https://en.wikipedia.org/wiki/Linkin_Park">Wikipedia Entry</a></p>
    <h2>Social Links</h2>
    <div id="socialicon">
      <a href="https://www.facebook.com/linkinpark" target="_blank" class="fa fa-facebook">&nbsp</a>
      <a href="https://twitter.com/linkinpark" target="_blank" class="fa fa-twitter">&nbsp</a>
      <a href="https://www.instagram.com/linkinpark/" target="_blank" class="fa fa-instagram">&nbsp</a>
      <a href="https://www.youtube.com/user/linkinparktv" target="_blank" class="fa fa-youtube">&nbsp</a>
    </div>
    <div id="copyright">
      <p>Coded by <a href="https://arynecabatan.github.io/"></a>Aryne<br/><p>&copy; 2020<p></p>
    </div>
  </footer>

</body>

              
            
!

CSS

              
                html {
    font-size: 10px;
}

* {
    margin: 0;
    padding: 0;
}

body{
  font-family: 'Montserrat' , 'sans-serif';
  text-align: center;
  font-weight: 400;
  font-size: 1.6rem;
  display: grid;
}

header{
  margin: 5% 0 2% 0;
}

#title{
  font-size: 4rem;
  font-weight: 900;
}

header > img{
  width: 100%;
  max-width: 10em;
  max-height: auto;
  margin-bottom: 2em;
}

header > h4{
  font-size: 2rem;
  font-weight: 400;
  font-style: italic;
}

#img-div{
  background: #eee;
  padding: 1em;
  margin:0 5% 0 5%;
}

#image {
  max-width: 100%;
  display: block;
  height: auto;
  margin: 0 auto;
}

#img-caption{
  margin: 1em 0 0 0;
}

#tribute-info{
  margin: 5%;
  overflow-x: hidden;
  text-align: justify;
}

#tribute-info > article > h2{
  margin: 0 0 2em 0;
}

#tribute-info >article > p{
  text-indent: 3em;
  line-height: 2em;
  margin: 0 0 2em 0;
}

#members > div{
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.memberlist{
  padding: 5rem;
}

.memberphoto{
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: auto;
  object-fit: contain;
}

.memberlist > figcaption{
  max-width: 100%;
  text-align: center;
  margin: 1em 0 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#albums > div{
  display: grid;
  grid-template-columns: 33% 33% 33%;
  grid-gap: 0.5rem;
  margin: 0 4em 0 4em;
}

.albumlist{
  padding: 1rem;
  display: flex;
}

.albumart{
  width: 5em;
  height: auto;
  object-fit: contain;
}

.albumlist > figcaption{
  max-width: 100%;
  margin: 1em 0 0 1em;
  overflow: hidden;
  text-justify: none;
  height: auto;
  white-space: nowrap;
}

footer{
  background: black;
  color: white;
}

footer > h2{
  margin-top: 3rem;
}

a{
  color: white;
}

#socialicon {
  margin: 1.5rem;
  display: inline;
}

#socialicon > a{
  text-decoration: none;
  font-size: 3.5rem;
  margin-top: 1.5rem;
}

#copyright{
  margin: 3rem 0 3rem 0;

}














@media only screen and (max-width: 768px) {
  #albums > div{
    grid-template-columns: 100%;
  }
}
@media only screen and (min-width: 768px) {
  #albums > div{
    grid-template-columns: 50% 50%;
  }
}
@media  only screen and (min-width: 992px) {
  #albums > div{
    grid-template-columns: 33% 33% 33%;
  }
}
@media  only screen and (min-width: 1200px) {
  #albums > div{
    grid-template-columns: 33% 33% 33%;
  }
}

              
            
!

JS

              
                
              
            
!
999px

Console