Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ 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

Save Automatically?

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

              
                <!-- refer to today's lesson at https://jen4web.substack.com/address -->

<h1>What do you think: should we use the address element on this page?</h1>
<p>Should we use an address element anywhere on this page? If so, where?</p>
<p><a href="https://jen4web.substack.com/p/address-discussion" target="_blank" class="button">Share your thoughts on Substack</a></p>
<hr> <!-- hr: a thematic break in a section. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/hr -->

<h2>Contact Our Team</h2>
<p>Imagine that this is our super fine contact page listing all of our employees. This is the preamble at the top that no one ever reads.</p>

<p>Erika Lee<br>
  Indiana University<br>
  107 S. Indiana Avenue<br>
  Bloomington, IN<br>
  Twitter: <a href="https://www.twitter.com/ebigalee" target="_blank">@ebigalee</a></p>

<p>Jen Kramer<br>
  Harvard University Extension School<br>
  51 Brattle Street<br>
  Cambridge, MA 02138<br>
  Twitter: <a href="https://www.twitter.com/jen4web" target="_blank">@jen4web</a>
</p>
              
            
!

CSS

              
                body {
  font-family: Arial, sans-serif;
}
.button {
  background-color: #eb3b5a;
  padding: 0.5rem 1rem;
  border: 1px solid #eb3b5a;
  border-radius: 30px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  margin-bottom: 5rem;
}
.button:hover {
  color: #eb3b5a;
  background-color: white;
}
              
            
!

JS

              
                /* 

💯 This challenge is certified 100% free of JavaScript. 

ALL THE GOOD STUFF IS IN THE HTML BLOCK :-D

*/
              
            
!
999px

Console