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>
<div id="main"> 
  <h1 id= title> Bill Gates </h1>
     <p> Bill Gates is a business genius who growing up had interests in computers. He is one of the many billionares we have in the world today who dropped out of college and started a technology corporation called Microsoft. </p>  
  <div id="img-div"> 
  <img id= "image" src="https://yt3.ggpht.com/a-/AN66SAxGPSDn6i9i_pSo-Wc2rqe8VfSAnhbbzM7yPw=s900-mo-c-c0xffffffff-rj-k-no" alt="Bill Gates"> </img>
  <h2 id="img-caption"> Bill Gates poses for the camera </h2> 
</div>
  <p id="tribute-info">
"Ultimately, the PC will be a window to everything people are interested in-and everything we need to know."- Bill Gates
<br> <br> 
Some see him as an innovative visionary who sparked a computer revolution. Others see him as a modern-day robber baron whose predatory practices have stifled competition in the software industry. Regardless of what his supporters and detractors may think, few can argue that Bill Gates is one of, if not the most successful entrepreneur of the 20th century. In just 25 years, he built a two-man operation into a multibillion-dollar colossus and made himself the richest man in the world somewhere along the way. Yet he accomplished this feat not by inventing new technology, but by taking existing technology, adapting it to a specific market, and then dominating that market through innovative promotion and cunning business savvy. </p>
  
  <a href= "https://www.gatesnotes.com/Bio"  target= "_blank" id="tribute-link"> Click here for more information on Bill Gates </a> 
         </div>
<div> 
              
            
!

CSS

              
                body {
  text-align: center;
  background-color: #0000; 
} 

#image {
  max-width: 100%;
  display: block;
  margin-left: auto;
  margin-right:auto;
}

h1 {
  font-family: sans-serif;
  font-size: 2em;
}

#img-caption {
  font-family: sans-serif; 
}

p {
  font-family: sans-serif; 
}
              
            
!

JS

              
                
              
            
!
999px

Console