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

              
                
<div class="container">
  <div class="jumbotron">
    <div class="row">
      <div class="col-xs-12 text-center">
  <h1 class="text-center mheader">NEIL ARMSTRONG</h1>
  <h3 class="text-center">THE FIRST MAN ON THE MOON</h3>
    <div class="img-thumbnail text-center" style="margin-bottom: 20px">
    <img src="https://www.nasa.gov/sites/default/files/images/62292main_crew_link.jpg" alt="Apollo 11 Crew" class="img-responsive">
      <div class="caption text-center" style="font-family: Courier New">The crew of Apollo 11<br> Neil Armstrong (left), Michael Collins (center), Buzz Aldrin (right)</div>
    </div>
    <div class="col-xs-12 col-sm-10 col-sm-offset-1 col-md-8 col-md-offset-2" id="timeline">
      <h3 style="font-size: 40px">Timeline of Neil Armstrong's Life</h3>
    <ul class="text-left">
      <li><strong>1930 - </strong>Born August 5 in Wapakoneta, Ohio</li>
      <li><strong>1947 - </strong>At the age of 17 began studying aerospace engineering at Purdue University</li>
      <li><strong>1949 - </strong>Began flight training with the Navy</li>
      <li><strong>1950 - </strong>Qualified Naval Aviator</li>
      <li><strong>1955 - </strong>Graduated with a Bachelor of Science degree in Aeronautical Engineering</li>
        <li><strong>1956 - </strong>Married Janet Elizabeth Shearon</li>
        <li><strong>1958 - </strong>Selected for the U.S. Air force man in space soonest program</li>
        <li><strong>1969 - </strong>July 21st became the first man on the moon</li>
        <li><strong>1970 - </strong>Received a Master of Science degree in Aerospace Engineering</li>
        <li><strong>1971 - </strong>Resigned from NASA</li>
        <li><strong>1985 - </strong>Went to the North Pole</li>
        <li><strong>2012 - </strong>August 25th Died from complications of a bypass surgery</li>
    </ul>
      <div class="embed-responsive embed-responsive-4by3">
        <iframe class="embed-responsive-item" src="https://www.youtube-nocookie.com/embed/RMINSD7MmT4?rel=0&amp;showinfo=0"></iframe>
      </div>
    <blockquote style="background-color:black">
      <p style="color:white"><em>"That's one small step for man, one giant leap for mankind"</em></p>
      <footer style="color:white"><cite> Neil Armstrong</cite></footer>
      </blockquote>
    <h4>Link to official <a href="https://www.nasa.gov/centers/glenn/about/bios/neilabio.html" target="_blank">Biography</a></h4>
          </div>
        </div>
    </div>
  </div>
</div>

<footer class="text-center white-text">
  <hr><p style="color: white">Written and coded by <a href="https://www.freecodecamp.org/odgonz" target="_blank">Oscar Gonzalez</p></hr></footer>
              
            
!

CSS

              
                body {
  margin-top: 60px;
  background-color: black;
}
#timeline {
  background-color: gray;
  font-size: 125%;
}
.mheader {
  font-family: Georgia;
}


              
            
!

JS

              
                
              
            
!
999px

Console