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.

            
              <main id="main" class="flex bg-silver text-center">
  <header>
    <h1 id="title" class="shatex-blur-sm">Albert Einstein Tribute Page</h1>

    <figure id="img-div">
      <img id="image" class="block bord-solid bord-gray" src="https://quotesaga-img.s3.amazonaws.com/quote/QS_f1a64b94df3548c2991df766cfcecfa7.jpg" alt="Albert Einstein">
      <figcaption id="img-caption">Albert Einstein, Father of modern physics</figcaption>
    </figure>
  </header>

  <section id="tribute-info">
    <h2 class="deco-under">Albert Einstein Life's Chronology</h2>
    
    <table class="table">
      <tbody>
        <tr>
          <th>1879</th>
          <td>Birth of Albert Einstein at 11.30 am in Ulm (Germany) the 14th of March.</td>
        </tr>
        <tr>
          <th>1891</th>
          <td>Einstein learns by himself the Euclidean geometry.</td>
        </tr>
        <tr>
          <th>1894</th>
          <td>The Einstein family settled in Milan.
            <br>Albert leaves school because he gets bored.</td>
        </tr>
        <tr>
          <th>1896</th>
          <td>Einstein enters the Polytechnic Institute of Zurich.
            <br/>He studies physics by himself.</td>
        </tr>
        <tr>
          <th>1902</th>
          <td>Examination post at the Swiss Patent Office in Bern.</td>
        </tr>
        <tr>
          <th>1903</th>
          <td>Marriage with Mileva Maric.</td>
        </tr>
        <tr>
          <th>1905</th>
          <td>Ph.D. at the University of Zurich: thesis on the dimension of molecules.
            <br>Publication of very important articles for 20th-century physics such as the Theory of Restricted Relativity.</td>
        </tr>
        <tr>
          <th>1916</th>
          <td>Publication of the Restricted &amp; General Theory of Relativity.</td>
        </tr>
        <tr>
          <th>1919</th>
          <td>Einstein becomes world famous.</td>
        </tr>
        <tr>
          <th>1921</th>
          <td>Nobel Prize in Physics for his work at the origin of the concept of photon &amp; wave mechanics.</td>
        </tr>
        <tr>
          <th>1933</th>
          <td>Einstein flees Europe because of the rise of Nazism.
            <br>He will emigrate to the United States &amp; will be at the Princeton Institute of Advanced Studies.</td>
        </tr>
        <tr>
          <th>1939</th>
          <td>The 2nd of August, Einstein wrote his famous letter to Roosevelt in favor of the development of an atomic bomb.</td>
        </tr>
        <tr>
          <th>1955</th>
          <td>Einstein dies in Princeton (United States) the 18th of April.</td>
        </tr>
      </tbody>
    </table>
  </section>

  <section class="card">
    <h3>Albert Einstein's Words</h3>

    <blockquote>
      <p>"A person who has never committed mistakes has never attempted to innovate."</p>
      <cite title="Albert Einstein">Albert Einstein</cite>
    </blockquote>
    
    <a id="tribute-link" class="btn" href="https://en.wikipedia.org/wiki/Albert_Einstein" target="_blank" title="You can read more informations about this extraordinary man">
      <i class="fab fa-wikipedia-w" aria-hidden="true"></i>
    </a>
  </section>
</main>

<footer class="foot">
  <p>Written &amp; coded by 
    <a href="https://www.freecodecamp.com/philippebeck" target="_blank">
      Philippe Beck
    </a>
  </p>
</footer>
            
          
!
            
              /* The CSS Framework Animadio is enough */
            
          
!
            
              // No JavaScript at all !
            
          
!
999px
🕑 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.

Console