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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


Babel includes JSX processing.

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


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


                <div class="outer text-center">
  <div id="color">
  <h1 > Elon Musk </h1>
    <h2> <em> The Iron Man </em> </h2>
  <div class="inner">
 src= height="300px"/>
    <p id="photoDesc"> Elon Musk's Portrait photo, wearing a tie, smirking, with a black backdrop, with words. </p>
  <h3> Heres a timeline of Elon's Life: </h3>
  <div  id="list" style="list-style-position: inside" >
  <ul  >
    <li><b>1980</b> - Born</li>
    <li><b>1985</b> - Went to School </li>
    <li><b>1990</b> - Created </li>
    <li><b>1995</b> - Sold </li>
    <li><b>1999</b> - Created Tesla </li>
    <li><b>2000</b> - Created Space X </li>
  <p class="blockquote"> “When something is important enough, you do it even if the odds are not in your favour.” </p> 

  <p class="blockquote-footer"> by elon musk </p>
  <h3> If you have more time, read more about Elon Musk at <a href=""> this wikipedia entry </a>. </h3>


                body {
   background-color: rgba(27, 98, 251, 40%);

.inner {
  display: block;
  margin: 50px auto;
  box-shadow: 0 0 30px black;

#photoDesc {
  background-color: white;

#list {
  text-align: left;
  display: block;
  padding-left: 38%;
  margin: 20px;

h1 {
  font-size: 80px;

h2 {

#color {
  background-color: white;
  margin: 150px;