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

              
                <!-- 
1. In HTML, make an unordered list tag, with three list items. 

2. Make three h3 headers, and give each the name and artist of one of your favorite songs. Give each header an id. 

3. Inside your first list item, add an <a> tag. Inside the opening tag, add a href that links to the id of your first song header. Add the name of the song and artist inbetween your opening and closing tags. Do the same for the other two list items. 

4. Under each header, add a paragraph which contains the song lyrics. use <br> to break the lines correctly. 
              
            
!

CSS

              
                /*
5. Change at least 5 different CSS properties to make your page look nice! Remember, you can style everything at once by accessing the body in CSS, or you can give different elements classes and ids, to style them as groups or seperately. 
If you're struggling for inspiration, think of properties like color, font-size, font-family etc. 
              
            
!

JS

              
                
              
            
!
999px

Console