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

              
                <!DOCTYPE html>
<meta charset="utf-8">
<title>Your Name Here</title>
<link rel="stylesheet" href="style.css">

<header role="banner">
    <h1>Your Name Here</h1>
</header>

<main id="main-content">

    <section id="welcome">
        <h2>A Welcome Note</h2>
        <p>You can introduce yourself to your visitor here in whatever ways you have started to articulate based on the writing prompts in the "Individuality and Solidarity" section of the <i>Your Name Here</i> website.</p>
    </section>

    <section id="scribblings">
        <h2>Scribblings, Ramblings, Musings</h2>
        <p>This section is similar to a publications page. But you do not have to limit yourself to just traditional academic publications. We welcome you to include lists and links to blog posts, short stories, computational code, drawings, or any other unpublished ramblings.</p>

        <h3>Blogging</h3>
        <ol>
            <li>Blog1</li>
            <li>Blog2</li>
            <li>Blog3</li>
        </ol>

        <h3>Academic Publications</h3>
        <ul> 
            <li>Publication 1</li>
            <li>Publication 2</li>
        </ul>

    </section>

    <section id="surrounds">
        <h2>My Surrounds</h2>

        <h3>Music I've Been Loving</h3>
        <div>
            <iframe style="border-radius:12px" src="https://open.spotify.com/embed/playlist/0yiemdo8QOoKG8dhYtZ366?utm_source=generator" width="40%" height="380" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture"></iframe>
            
            <iframe style="border-radius:12px" src="https://open.spotify.com/embed/playlist/7qoxczp47OmIpFYPZF5imc?utm_source=generator" width="40%" height="380" frameBorder="0" allowfullscreen="" allow="autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture"></iframe>
        </div>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console