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 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

              
                <!DOCTYPE html>
<html>
  <head>
  <meta charset="utf-8">
    <title>
      Neil Peart
    </title>
   <link rel="stylesheet" href="style.css">
  </head>
  <div id= "main">
    
      <h1 id="title">Neil Peart</h1>
    <h2 id="title-sub"> A Tribute </h2>
    </div>
 <figure>
   <div id="img-div" class="center">
<image>
     <img src=https://cdn.mos.cms.futurecdn.net/V73Wvz6FrMD485EKwUTf2N-970-80.jpg.webp id="image" class="center">
     </image>
     <figcaption id="img-caption"> Neil doing what he does best</figcaption>
    </figure>
      <h2 id= "head2">Timeline</h2>
      <ul>
        <li> In the year of September 12, 1952. Neil Peart is born in Hagersville ON</li>
        
        <li> In around 1956, Neil's became interested with anything of musical nature. He started his drumming career by the age of 12 drumming around the house with chopsticks. By Neils 13th birthday his parents bought him a practice drum pad to pursue his passion.</li>
     
        <li> Later on while he was in high school he met fellow bandmate Geddy Lee.</li>

        
 <div id=tribute-info>       
<p> For more information visit <a href="https://en.wikipedia.org/wiki/Neil_Peart" id="tribute-link" target="_blank"> Neil Peart Wiki</a>
</div>
       
 </ul>
  <footer>
    <div ="footer">
    <p> Created by Stefan </p>
    </div>
    <script src=      "https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script></script> 
  </body>
</html> 
  
              
            
!

CSS

              
                

#title{
  font-family: Roboto;
  text-align: center;
  color: Black; 
  
}

#title-sub{
  text-align: center;
  color: grey;
  
}

#head2{
  text-align: center;
  
}

#img-div{
  border-radius: 25px;
  border: 3px solid #A9A9A9 ;
  background: #778899;
  padding: 20px;
  
}


.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 50%;
}

#img-caption {
 text-align: center;
  
}

body {
  font-family: Times New Roman;
  background: purple;
  text-align: left;
  height: 100px;
  margin: 0;
  display: grid;
}

#tribute-link{
  background: teal;
  
}

#tribute-info{ 
  border-radius: 25px;
  border: 3px solid #FFD700 ;
  background: #A9A9A9;
  padding: 20px;
  
}
              
            
!

JS

              
                
              
            
!
999px

Console