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

              
                <!-- INSTRUCTIONS - PLEASE READ FIRST:

This is a pure CSS/HTML blog template designed to make it easier to manage a blog on a static website.

When adding new entries, follow the structure of the 'href' value of the links
and the 'id' value of the entries.

Please note you can link to a blog post directly with the 'href' value of the entry. If your entry is href="#1" then your link to that entry would be:
https://yoursite.neocities.org/blog.html#1
-->


<!-- These are the links to your blog entries -->
<a href="#1">Entry 01</a><br>
<a href="#2">Entry 02</a><br>
<a href="#3">Entry 03</a><br>

<!-- These are your blog entries -->
<div id="1"><p>This is the first entry.</p></div>
<div id="2"><p>This is the second entry.</p></div>
<div id="3"><p>This is the third entry.</p></div>

<!-- This is the CSS -->
<style>
[id] {
	display: none;
}
[id]:target {
  display:block;
}
</style>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console