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

              
                <body>
  <nav class="navbar navbar-inverse">
    <div class="container-fluid">
      <div class="navbar-header">
        <a class="navbar-brand" href="#">The Bill Gates Tribute Page</a>
      </div>
      <ul class="nav navbar-nav">
        <li class "active"><a href="#">Home</a></li>
        <li><a href="#">About Us</a></li>
        <li><a href="#">Contact Us</a></li>
      </ul>
    </div>
  </nav>
  <div>
    <h1 class="text-primary text-center">The Bill Gates Tribute Page</h1></br>
    <h3 class="text-center">"Inspiring the era of the home computer"</h3></br>
  </div>

  <div class="img-center .gray-border">
    <img src="https://fthmb.tqn.com/2owdmVc6tobJpK17z289LcOnlyU=/768x0/filters:no_upscale()/72944804-56a6fa333df78cf772913cd3.jpg" class="img-circle center-block" alt="Picture of Bill Gates with the Microsoft log" width="800" height="600" </img></br>
</br></br>
  </div>

<div id class="center-text">
  <ul style="font-size: 18px"
    <li><strong>Oct 28 1955</strong> - William Henry "Bill" Gates III is born</li>
    <li><strong>1967 - 1973</strong> - Bill Gates attends Lakeside school</li>
    <li><strong>1973</strong> - Bill Gates enrolls at Harvard University</li>
    <li><strong>April 4 1975</strong> - Bill Gates and Paul Allen form partnership called Micro-Soft</li>
    <li><strong>Feb 1976</strong> - Bill Gates writes "Open Letter to Hobbyists"</li>
    <li><strong>Nov 1 1978</strong> - Microsoft opens first international office in Japan</li>
    <li><strong>Jan 1 1979</strong> - Microsoft moves headquarters to Bellevue, Washington</li>
    <li><strong>1980</strong> - Microsoft partners with IBM to write the BASIC for the IBM PC</li>
    <li><strong>June 25 1981</strong> - Microsoft becomes incorporated and Bill Gates becomes president</li>
    <li><strong>1989</strong> - Bill Gates founds Coris</li>
    <li><strong>Jan 1 1994</strong> - Bill Gates marries Melinda French</li>
    <li><strong>May 18 1998</strong> - United States v. Microsoft Trial</li>
    <li><strong>July 2 2005</strong> - Live 8 Concerts</li>
    <li><strong>June 27 2008</strong> - Bill Gates Steps Down from Daily Duties</li>
    <li><strong> Feb 4 2009</strong> - TED 2009 held in Long Beach, CA</li>
    <ul></br></br></br>
         </div>  
  </div>
  <p>To find out more about Bill Gates please check out the</p>
  <div class="text-center">
    <a href="https://en.wikipedia.org/wiki/Bill_Gates">Bill Gates Wikipedia page</a></>
    </p>
  </div>
  </div>
</body>
              
            
!

CSS

              
                body {
  border: solid;
  width: 1580px;
  height: 1500px;
}

h1 {
  font-family: arial-black;
 }

ul {
  text-align: center;
  list-style: inside;
}

p {
  text-align: center;
}
              
            
!

JS

              
                document.getElementsByTagName("h1")[0].style.fontSize = "80px";

              
            
!
999px

Console