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-fluid main-box">
    <h1 class="text-primary text-center">Elon Musk</h1>
    <h2 class="text-center">The Real Life Iron Man</h2>
        <img class="img-responsive main-image" src="https://az616578.vo.msecnd.net/files/responsive/cover/main/desktop/2016/07/02/636030757259556361-1129479309_elon-musk.jpg">
        <figcaption><em>He is the founder, CEO, and CTO of SpaceX; a co-founder, a Series A investor, CEO, and product architect of Tesla Inc.;</em></figcaption>
    <div class="content-main">
    <h2>Here's a timeline of Elon Musk -</h2>
      <li>Elon was born in South Africa to an engineer father and model mother on June 28, 1971.</li>
      <li>Elon read 10 hours a day as a kid, and even read the entire Encyclopedia Britannica.</li>
      <li>At age 12, Elon sold his first video game that he coded for $500.</li>
      <li>After being inspired by Hitchhiker’s Guide to the Galaxy, Elon decided that his new life mission would be to save humanity.</li>
      <li>Leaves Stanford PhD program after two days to help found Zip2, which he started with a $28,000 loan from his father.</li>
      <li>He later received proceeds of $22 million from the sale of Zip2 to Compaq, which he used to start X.com.</li>
      <li>X.com merges with another online bank (Confinity) to form Paypal.</li>
      <li>Elon gets ousted as CEO from Paypal while on his honeymoon, yet still invests more money in the company regardless.</li>
      <li>He discovers that space rockets are artificially overpriced, and starts SpaceX to build his own rockets.</li>
      <li>Elon gets $250 million from the sale of Paypal to Ebay.</li>
      <li>Meets Tesla founders Marc Tarpenning and Martin Eberhard, and introduces them to JB Straubel. Elon invests in Tesla.</li>
      <li>After having three SpaceX rockets explode while approaching bankruptcy with Tesla, Elon takes action. He takes over as CEO of Tesla and raises an emergency fifth round of financing. Meanwhile, his fourth rocket launch with SpaceX succeeds and a $1.6B contract with NASA is signed.</li>
      <li>Tesla goes public at $17 per share (it trades for ~$250/share today)</li>
      <li>Elon announces reusable rockets that could make space flight 100x cheaper, and promises to also send humans to Mars by 2021-2031.</li>
      <li>Elon publishes the Hyperloop design, starts building the Gigafactory, unveils the Powerwall, and eventually lands a rocket on an ocean platform.</li>
    <h3 class="text-primary">"Failure is an option here. If things are not failing, you are not innovating enough."
    - Elon Musk</h3>
    <h4>Elon is an inspirational personality. You should read more about this incredible human being on his <span><a href="https://en.wikipedia.org/wiki/Elon_Musk">Wikipedia</a></span>.</h4>
    background-color: #DCDCDC;
    margin: 7% 10% 5% 10%;
    border-radius: 1%;
    padding: 1%;
    padding: 1%;
    padding: 2%;
    margin-left: 14%;
    margin-right: 14%;
    padding: 2%;
    margin-left: 14%;
    margin-right: 14%;
    border-radius: 1%;
    width: 100%;
    padding: 1%;
    margin-left: .5%;
    margin-right: 5%;
    margin-left: 15%;
    margin-right: 15%;
    padding: 2%;
    border-radius: .4%;
    margin-left: 10%;
    margin-right: 10%;
    text-align: center;
🕑 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.