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. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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">
  
  <h1 id="title">Raffi Cavoukian</h1>
  
  <p id="subtitle">"The most popular children's singer in the English-speaking world"</p>
  
  <figure id="img-div">
    
    <img id="image" src="https://images.squarespace-cdn.com/content/55695205e4b0b0ed5ed23665/1455904290516-VU4GT8VW949UQPZTL2CB/image-asset.jpeg?content-type=image%2Fjpeg" alt="Photo of Raffi Cavoukian holding a ukulele">
    
    <figcaption id="img-caption">
      Raffi Cavoukian holding a ukulele.
    </figcaption>
    
  </figure>
  
  
  <div id="d1">
  <article id="tribute-info">
    
    <h2>Timeline</h2>
    
    <ul>
        <li><strong>1948</strong> - Born in Caira Egypt</li>
        <li><strong>1958</strong> - Family immigrates to Canada</li>
        <li><strong>1980</strong> - Raffi releases his 6th Album Baby Beluga</li>
        <li><strong>1989</strong> - The album Raffi in Concert with the Rise and Shine Band was listed on the RPM Top 100 albums</li>
        <li><strong>1990</strong> - Released the album Everygreen Everyblue</li>
        <li><strong>1994</strong> - Released the album Bananaphone</li>
        <li><strong>2000</strong> - Published his autobiograph The Life of a Children's Troubadour</li>
        <li><strong>2006</strong> - Reveived the Fred Rogers Integrity Award</li>
        <li><strong>2014</strong> - Received an honorary doctorate of letter from Vancouvver Island University</li>
           
      
    </ul>
    
  </article>
  </div>
  
  <div id="wikilink">
    <h3> If you have time, you should definitely read more at the
  <a id="tribute-link" 
     href="https://en.wikipedia.org/wiki/Raffi"
     target="_blank">
    Raffi Wikipedia entry</a>.
      </h3>
  </div>
    
</main>
  
              
            
!

CSS

              
                @import url(https://fonts.googleapis.com/css2?family=Barrio);

@import url(https://fonts.googleapis.com/css2?family=Poppins);

body {
  margin: 3rem;
}

#main {
  display: block;
  margin: 0;
  
  m
}

h1 {
  font-family: 'Barrio', cursive;
  font-size: 6vmax;
  text-align: center;
  
  
}

h2 {
  font-size: 10vw;
  text-align: center;
  font-family: 'Barrio', cursive;
  
}

h3 {
  font-size: 1rem;
  text-align: center;
  font-family:'Poppins', sans-serif;
}

#subtitle {
    font-size: 5vw;
    text-align: center;
    font-weight: 800;
    font-family:'Poppins', sans-serif;
    color: #BF2C98;
}

img {
  display: block;
  height: auto;
  margin: auto; 
  width: 600px;
  border-radius: 30px;
  max-width: 100%;
}






  
#d1 {
  display: flex;
  justify-content: center;
  
}

ul {
  max-width: 550px;
  text-align: left;
  margin: 0 auto 20px auto;
  font-family:'Poppins', sans-serif;
  font-size: 14px ;
  line-height: 2.5;
  padding-left: 20px;
  
}

#wikilink {
  text-align: center;
  font-family: 'Poppins', sans-serif;
  background-color: #B1F2F2;
}

a:visited {
  color: #BF2C98;
}

#img-caption {
  text-align: center;
  margin-top: 0.7rem;
  padding: 1rem;
  font-size: .8rem;
  font-family:'Poppins', sans-serif;
  color:
}

@media (min-width: 400px) {
  #d1 {
    
  }


              
            
!

JS

              
                
              
            
!
999px

Console