Pen Settings

HTML

CSS

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

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                <h1>Ordered (Numbered) List Example</h1>

<h2>Wendi's Ginger Root Syrup</h2>

<ol>
  <li>Peel the ginger root by scraping the skin off with a spoon.</li>
  <li>Slice the peeled roots. The slices should be about 1/4 to 1/2 cm thick.</li>
  <li>Add 6 cups of water to a pot. Add the honey and the ginger root slices.</li>
  <li>Boil the water, honey, and ginger until there is 3 cups of liquic left.</li>
  <li>Drain the root slices and store the liquid in ice cube trays or other containers.</li>
</ol>

<p>To make the tea, add 1/4 cup of syrup (or one ginger syrup ice cube) to 1 cup of hot water.</p>

<p>Don't throw away the ginger root slices! You can still use them: add them to curries, stir-fries, stews, etc. Or toss them in sugar and let them dry overnight to make candied ginger.</p>
              
            
!

CSS

              
                html,
body {
  font: 16px Arial, sans-serif;
}

h1 {
  border-bottom: 2px solid #880e4f;
}

              
            
!

JS

              
                
              
            
!
999px

Console