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.


                <!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <div style="background-color:aqua">
        Lorem ipsum dolor sit, amet consectetur adipisicing elit. Consectetur ipsa illo impedit deserunt maxime odit, reiciendis, expedita hic incidunt, distinctio dicta voluptates corporis! Ea, labore nobis! Excepturi doloribus nostrum maxime?
    <h1 style="background-color:red">This is an h1 example</h1>
    <h2 style="background-color:yellow">This is an h2 example</h2>
    <p style="background-color:greenyellow">
        Lorem ipsum dolor sit amet consectetur adipisicing elit. Fugiat perferendis recusandae vitae! Magni officiis unde labore dolorem suscipit fugit molestias possimus provident maiores, impedit facilis sit maxime quam ducimus facere!
    <p style="background-color:olive; color:white;">
        Lorem, ipsum dolor sit amet consectetur adipisicing elit. Veniam commodi, libero atque totam asperiores laudantium deserunt quibusdam at, nisi accusamus sint est aperiam distinctio sit soluta suscipit placeat molestiae ut.
    <span style="background-color:blue; color:yellow;">
        Lorem ipsum dolor sit, amet consectetur adipisicing elit. Corrupti necessitatibus commodi optio, quam exercitationem illo nemo amet inventore natus vel provident, repellendus est, totam atque cumque molestiae dolor ratione quis.
    <span style="background-color:black; color:yellow;">
        Hi, How are you?
    <a href="">Newsunweb Web </a>
    <strong>is a <del>Good</del><ins>Very Good</ins> website!</strong>