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.


                <!-- Read the full post at -->

<div class="container">
  <h1>Day 13: Hamburger Button Challenge</h1>

  <ol class="instructions">
    <li>Fork this CodePen</li>
    <li>Copy and paste in your HTML and CSS from Challenge Day 12. If you didn't complete it yet, go back and do so now first.</li>
    <li>Under Settings > Pen Settings > CSS add your CDN link for Font Awesome.</li>
    <li>Include a hambuger icon and a close icon in your nav.</li>
    <li>Use a media query to control when the hamburger menu icon will appear. When the icon is clicked, the menu should appear. When the close icon is clicked, the menu should once again hide.</li>
  <h3>Make it easier</h3>
  <p>Use one of the non-responsive navbars we created earlier, either from an example CodePen or one you created yourself, and add a hamburger button to it.</p> 

  <h3>Tips from Erika</h3>
  <ul class="tips">
    <li>Time to put all your moves together! šŸ„‹ Black belt in CSS Navigation here we come.</li>
    <li>Go step by step today, referencing the example as you go. Add each piece and try to understand what it does before moving on to the next.</li>

  <p><a href="" target="_blank" class="button">Share your answer on Substack</a></p>

<hr><!-- Mess with anything below this line or in the CSS column! -->

    <li><a href="#"><img class="logo" src="" alt="Logo - Click for Home"></a></li>
    <li><a href="#">Jeet Kun Do</a></li>
    <li><a href="#">Wing Chun</a></li>
    <li><a href="#">Filipino Martial Arts</a></li>
    <li><a href="#">Majapahit Silat</a></li>
    <li><a href="#">Brazilian Jiu-Jitsu</a></li>
    <li><a href="#">Thai Boxing</a></li>



                .logo {
  width: 125px;

/* default styling for the page & instructions - you don't need to touch this unless you really want to */
html {
  box-sizing: border-box;
*, *::before, *::after {
  box-sizing: inherit;
body {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2rem;
  padding-bottom: 5.0em;
.container {
  background-color: rgba(255,255,255,0.8); 
  width: 90%;
  padding: 0.5rem 1.5rem 0;
h1 {
  margin-top: 50px;
.instructions li {
  padding-bottom: 1.0rem;
.tips li {
  padding-bottom: 1.0rem;
  font-size: smaller;
.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: 1em 0 5rem;
  transition: all 1s ease;
.button:hover {
  color: #eb3b5a;
  background-color: white;



šŸ’Æ This challenge is certified 90% free of JavaScript.