Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

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


Auto Save

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.


                <body style="background-color: lightskyblue;">
  <div class="container" style="padding: 25px;">
    <div class="table" id="table1">
      <div class="row">
        <div class="col-sm-2">
          <figure><img class="img-rounded" width="150px" src="" alt="A portrait of Sir Isaac Newton in 1689 painted by Godfrey Kneller" /><figcaption style="font-size: 11px;">A portrait of Sir Isaac Newton in 1689 painted by Godfrey Kneller - Public Domain</figcaption></figure>
        <div class="col-sm-10">
          <h1>Sir Isaac Newton <small class="text-muted">(1642-1727)</small></h1>
          <p><em>"If I have seen further it is by standing on the shoulders of giants."</em></p>
    <table class="table-responsive table">
        <td class="td-left-column">
          <p class="list-header">Timeline of scientific discoveries and published works</p>
            <li>1671 - Published "Method of Fluxions"</li>
            <li>1671-75 - Wrote "Of Natures Obvious Laws & Processes in Vegetation" (unpublished)</li>
            <li>1684 - Published "De motu corporum in gyrum"</li>
            <li>1687 - Published "Philosophiae Naturalis Principia Mathematica"</li>
            <li>1704 - Published "Opticks"</li>
            <li>1707 - Published "Arithmetica Universalis</li>
            <li>1711 - Published "De analysi per aequationes numero terminorum infinitas"</li>
        <td class="td-left-column"></td>
          <p class="list-header">Timelines of personal events</p>
            <li>December 25, 1642 - Isaac Newton born in Woolsthorpe, England</li>
            <li>1654 - Enrolls in the Grantham Grammar School</li>
            <li>1661 - Enrolls in Trinity College, Cambridge</li>
            <li>1669 - Appointed Lucasian Chair of Mathematics at Trinity</li>
            <li>1689 - Elected as Cambridge's representative to Parliament</li>
            <li>1705 - Knighted by Queen Anne</li>
            <li>1712 - Royal Society credits Newton with the discovery of calculus</li>
            <li>March 20, 1727 - Death of Sir Isaac Newton in London, England</li>
        <td colspan="2" class="text-center">If you would like to find out more about Sir Isaac Newton, please visit <a href=""></a> or <a href=""></a></td>

  <!-- Scripts -->
  <script src=""></script>
      $("#table2").children().css("border", "gray");
      $(".container").css("background-color", "white");
      $(".td-left-column").css("width", "150px");
  <script src="scripts/index.js"></script>