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">
      <div class="col-md-12">
          <p class="text-center"><small>A tribute page project</small></p>
          <h1 class="text-center">Elon Musk</h1>
          <p class="text-center lead"><em>Innovation Pioneer</em></p>
        </div> <!-- column -->
      </div> <!-- row -->
    <div class="row">
      <div class="col-md-12" style="background-color: white; padding-top:15px;">
        <img src="https://upload.wikimedia.org/wikipedia/commons/f/f2/Elon_Musk_gives_tour_for_President_Barack_Obama.jpg" class="img-responsive"><br>
        <p><em><small>Elon Musk (5th from the left) at the Falcon 9 site in 2010.</small></em></p>
      </div> <!-- column -->
    </div> <!-- row -->
    <div class="row">
      <div class="col-md-8 col-md-offset-2">
        <h3>Some of the highlights of Musk's life and career</h3>
          <li><b>1971</b> - Born in Pretoria, Gauteng, South Africa</li>
          <li><b>1983</b> - Programmed a game called <em>Blastar</em> in basic at age 12 and sold the code for ~$500</li>
          <li><b>1989</b> - Moved to Canada and got Canadian Citizenship through his Canadian-born mother</li>
          <li><b>1995</b> - Recieved a Bachelor of Science degree in physics and a Bachelor of Science degree in economics from University of Pennsylvania</li>
          <li><b>1995</b> - Started the company Zip2 with his brother</li>
          <li><b>1999</b> - Musk got $22 million for his shares when selling Zip2 to Compaq</li>
          <li><b>1999</b> - Started X.com, an online financial services and e-mail payment company, who merged with PayPal one year later</li>
          <li><b>2002</b> - Founded Space Exploration Technologies (SpaceX) with $100 mill of his money</li>
          <li><b>2004</b> - Joining Tesla's board of directors as its chairman</li>
          <li><b>2006</b> - He provided the initial concept and financial capital for SolarCity, which was then co-founded in 2006
          <li><b>2008</b> - Asumed leadership of the company as CEO and product architect, positions he still holds today</li>
          <li><b> 2013</b> - He unveiled a concept for a high-speed transportation system. Hyperloop.</li>
          <li><b>2015</b> - In December 2015, Elon Musk announced the creation of OpenAI, a not-for-profit artificial intelligence (AI) research company</li>
        <p class="lead">You can also read a lot more about the life and career of this extraordinary person on <a href="https://en.wikipedia.org/wiki/Elon_Musk" target="_blank">the wikipedia article about him</a>.
      </div> <!-- column -->
    </div> <!-- row -->
  </div> <!-- jumbotron -->
  <div class="row">
    <div class="col-md-12">
      <p class="text-center"><small>Written and coded by Lars K. Høydal</small></p>
    </div> <!-- column -->
  </div> <!-- row -->
</div> <!-- container -->
              body {
  margin-top: 60px;

🕑 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 ..................