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

              
                
<link href="https://fonts.googleapis.com/css?family=Barrio" rel="stylesheet"> 

<style>
  .purple-text {
    color: purple;
  }
  #img-box {
    margin: auto;
    text-align: center;
  }
  .left-image {
    width: 300px;
  }
  .right-image {
    width: 285px;
  }
  h1 {
    font-size: 60px;
    font-family: Barrio;
  }
  h2 {
    font-size: 24px;
    left-margin: 50cm;
  }
  h5 {
    font-size: 10px;
  }
  .silver-background {
    background-color: silver;
  }
</style>
  
<h1 style="color:purple"><center>
 Grace Murray Hopper</h1>
<h2 class="text-secondary"><center><i>
  "It's easier to ask forgiveness than it is to get permission."</h2>
  <div id="img-box"> <div class=“text-center”></div> 
   <img class="left-image" src="http://www.shorpy.com/files/images/SHORPY_3c11439u.jpg" alt="grace murray hopper headshot adult"/>
  <img class="right-image" src="http://amhistory.si.edu/ogmt/images/upload/women-mathematicians/AHB2012q06025.jpg" alt="grace murray hopper headshot retirement"/> 
  </div>
  <p style="clear: both;"></p>
<h2><p>About "Amazing Grace"...</p></h2>
    <ul>
      <li><b>1906</b>
        - Born on December 6th in New York.</li>
      <li><b>1913</b>
        - Took her alarm clock apart to see how it worked. She was unable to put it back together so she took the pieces from seven other clocks in her house before her mother intervened.</li>
      <li><b>1923</b>
        - Tried to enroll at Vassar College but failed a Latin exam and had to wait.</li>
      <li><b>1924</b>
        - Enrolled at Vassar College.</li>
      <li><b>1928</b>
        - Finished Vassar College with degrees in mathematics and physics.</li>
      <li><b>1930</b>
        - Obtained a Master's in Mathematics from Yale.</li>
  <li><b>1934</b>
        - Earned a PhD in Mathematics and Mathematics Physics from Yale.</li>
      <li><b>1943</b>
        - Took a leave of absence as associate professor at Vassar to join the U.S. Naval Reserve.</li>
      <li><b>1945</b>
        - Found a large moth inside a computer she was working on with colleagues.  As a result, she was the first to use the term "bug" and to refer to "debugging" a computer.</li>
        <li><b>1952</b>
        - Her team developed A-0, the first compiler for an electronic computer. It translated symbolic mathematical code into machine code. This innovation later led to the ability to write programs for more than one computer at time.</li>
      <li><b>1959-1961</b>
        - She led the team that invented COBOL (Common Business-Oriented Language) which is the first user-friendly business computer software program.</li>
      <li><b>1969</b>
        - Named "Man of the Year" by Data Processing Management Association.</li>
      <li><b>1987</b>
        - Received a total of 37 honorary degrees!</li>
       <li><b>1991</b>
        - Became the first woman honored with the National Medal of Technology. This award recognized her as someone who spent half a century keeping the United States on the leading edge of technology. President Bush gave her this award. </li> 
      <li><b>1992</b>
        - Died on January 1st in Virginia.</li>
      <li><b>2013</b>
        - On December 6th (what would have been her 107th birthday) she was celebrated with a <a href=https://www.google.com/doodles/grace-hoppers-107th-birthday target="_blank">"Google Doodle".</a></li>
      
      
  </ul>
  <p>
    <div class="silver-background"> Grace Hopper's legacy lives on as more women are inspired to go into computing. Check out the annual <a href=https://ghc.anitaborg.org/about target="_blank"> Grace Hopper Celebration of Women in Computing Conference</a> to learn more.</div> 
  <h5>Caution: If you're a budding developer (like me) who is taking a boot camp (like <a href=https://freecodecamp.com target="_blank"> freecodecamp.com</a>), your ticket will cost over $1,000.</h5>
  </p>
              
            
!

CSS

              
                body {
  margin-top: 60px;
}
              
            
!

JS

              
                
              
            
!
999px

Console