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.

              <h1 class="text-center">Elon Musk</h1>
<h2 class="text-center">The man who is changing the world</h2>
  <img class="img-responsive" src="https://a.fastcompany.net/multisite_files/fastcompany/imagecache/w/939/h/528/scale/poster/2015/10/3052889-poster-p-2-the-issue-with-existing-batteries-is-that-they-suck.jpg" alt="Elon Musk<">
  <figcaption>Elon Musk is venturing headfirst into the battery business. Here's why it might be his boldest bet yet.</figcaption>
<h2>Here's a time line of Dr. Borlaug's life:</h2>
  <li>1971 - Born in Pretoria, Transvaal, South Africa.</li>
  <li>1981 - Developed an interest in computing with the Commodore VIC-20.</li>
  <li>1990 - Was accepted into Queen's University in Kingston, Ontario, for undergraduate study.</li>
  <li>1995 - Moved to California to begin a PhD in applied physics and materials science at Stanford University.</li>
  <li>1995 - Started Zip2, a web software company, with US$28,000 of their father's money.</li>
  <li>1999 - Co-founded X.com, an online financial services and e-mail payment company, with US$10 million from the sale of Zip2.</li>
  <li>2001 - Conceptualized "Mars Oasis"; a project to land a miniature experimental greenhouse on Mars</li>
  <li>2002 - Founded Space Exploration Technologies, or SpaceX</li>

<p>"If I’m trying to solve a problem, and I think I’ve got some elements of it kind of close to being figured out, I’ll pace for hours trying to think it through."</p>

<p> - Elon Musk</p>

<h2>If you have time, you should read more about this incredible human being on his <a href="https://en.wikipedia.org/wiki/Elon_Musk">Wikipedia entry</a>.</h2>
              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.