css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation


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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

              <div class="container">
  <div class="jumbotron">
    <div class="row header">
      <div class="col-xs-12 text-center">
        <h1 class="h1"> Albert Einstein</h1>
        <h2><em> The man behind E=mc^2</em></h2>       
    <div class="img-thumbnail">
      <a href="http://www.businessinsider.com/25-best-quotes-from-albert-einstein-2014-8#on-scope-2">
       <img class="smaller-image" src="https://azumazu.com/blog/wp-content/uploads/2013/08/man-of-value-albert-einstein.jpg" alt="Insert Einstein photo here"></a>Einstein's advice months before his death in 1955. Editor of "Life" magazine William Miller's son; Pat William, had asked for guidance in life during their interview.</img>
   <div class="row content">
     <div class="col-sm-10 center">
       <h3 class="h3"> Here's a timeline of Albert Einstein's historic life</h3>
         <li><strong>1879</strong> - Born in Ulm, Germany</li>
         <li><strong>1894</strong> - Drops out of Luitpold Gymnasium to join his family who has moved to Milan, Italy. After having stayed behind in munich to complete his education</li>
         <li><strong>1896</strong> - Einstein begins studying at the Zurich Polytechnic in a teachers' training program, receiving his diploma in the years to follow</li>
         <li><strong>1901</strong> - Einstein works as a teacher at a private school in Schaffhausen, Switzerland
         <li><strong>1902</strong> - Lieserl, Einstein and Mileva Maric's illegitimate daughter, is born in Hungary. Einstein is hired as a patent officer in Bern, the city he will marry Mileva in the following year.</li>
         <li><strong>1904</strong> - Hans Albert, Einstein and Mileva's first son, is born in Bern</li>
         <li><strong>1905</strong> - Einstein completes his paper on quantum theory, has his paper on Brownian motion accepted by the Annalen der Physik, and his paper on the special theory of relativity is published in the Annalen der Physik </li>
         <li><strong>1909</strong> - Einstein is appointed extraordinary professor of theoretical physics at Zurich University</li>
         <li><strong>1910</strong> - Eduard, the Einsteins' second son, is born in Zurich </li>
         <li><strong>1919</strong> - Einstein and Mileva obtain a divorce, Einstein then marries his cousin Elsa in Berlin. This was <strong>also</strong> the year Einsteins general relativity theory made him famous.</li>
         <li><strong>1922</strong> - Einstein wins the Nobel Prize for his work on quantum theory</li>
         <li><strong>1933</strong> - The Nazis seize power in Germany and Einstein moves to the United States with wife and his secretary, Helen Dukas. Elsa Einstein dies in Princeton </li>
         <li><strong>1940</strong> - Einstein becomes an American citizen</li>
         <li><strong>1952</strong> - After Chaim Weizmann's death, Einstein is offered the presidency of Israel. He declines.</li>
         <li><strong>1955</strong> - Einstein dies in New Jersey. His body is cremated and his papers turned over to the Hebrew University in Jerusalem.</li>
         <h4> <div class="container"> 
           <div class="quote-box">
             <div class="quote">
                 "Albert Einstein (1879-1955): Person of the century"
             <div class="name">
               -TIME</div><div class="right-header"> Magazine
           <h5 class="h5" > If you have time, read the best-selling book on <a href="https://www.amazon.com/Einstein-Life-Universe-Walter-Isaacson/dp/0743264746">Einstein's incredible life and universe</a></h5>
              .body {margin-top: 60px;}
.smaller-image {width: 890px;
border-radius: 30px;}
.h1 {font-size: 70px;}
.h3 {font-size: 20px;
margin-top: 40px;}
.h5 {font-size: 25px;}
.center {width: 100%;
margin:0 auto; text-align: left;}
.h4 {font-size: 10px}
.container {width 100px;}
.quote {
  color: black;
  margin: 15px;
    font-size: 17px;
  font-style: italic;
.name {color: red;
margin: -28px;}
.right-header{float: right 20px;
margin: 15px 50px}

🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................