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>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Module3-solution</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css" type="text/css">
</head>

<body>
    <header>
    <nav id="header_nav" class="navbar navbar-default">
            <div class="container">
                <div class="navbar-header">
   <a href="index.html" class="pull-left hidden-xs" title="Food, LLC">
   <div id="logo" alt="logo"></div>
                </a>

   <div class="navbar-brand"><a href="index.html" title="Food, LLC"><h1>Food, LLC</h1>
        </a>
   </div>

 <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#menu_collapse" aria-expanded="false">
      <span class="sr-only">Toggle navigation</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                  </button>
                </div>

 <div id="menu_collapse" class="collapse navbar-collapse">
    <ul id="menu-list" class="nav navbar-nav">
      <li><a href="#Chicken" class="hidden-sm hidden-md hidden-lg">
        <span class="glyphicon glyphicon-leaf"></span>Chicken</a>
      </li>
      <li><a href="#Beef" class="hidden-sm hidden-md hidden-lg ">
        <span class="glyphicon glyphicon-leaf"></span>Beef</a>
      </li>
      <li><a href="#Sushi" class="hidden-sm hidden-md hidden-lg">
        <span class="glyphicon glyphicon-leaf"></span>Sushi</a>
      </li>
      </ul>
</div><!--menu-list-->
</div><!--container-->
</nav><!--navigation menu-->
    </header>
  <!-- jQuery (Bootstrap JS plugins depend on it) -->
  <script src="js/jquery-3.2.1.min.js"></script>
  <script src="js/bootstrap.min.js"></script>
  <script src="js/script.js"></script>
</body>
</html>
              
            
!

CSS

              
                /*******Base style********/
body {
    background-color: #D4E2E1;
    color: black;
}
/*******HEADER*******/
#header_nav {
    background-color: black;
    border-radius: 0;
  border: 0;
}
.navbar-brand {
    padding-top: 25px;
}
.navbar-brand h1 { /*Food LLC*/
    font-family: 'action_manregular';
    color: #F2F5ED;
    font-size: 2.0em;
    font-weight: bold;
    text-shadow: 1px 1px 1px #DEE0DB;
}
.navbar-brand a:hover, .navbar-brand a:focus {
    text-decoration: none;
}
#menu-list {
    margin-top: 5px;
}
#menu-list a {
    color: #F2F5ED;
    font-size: 1.2em;
    text-align: center;
    font-family: 'action_manregular';
}
#menu-list a:hover {
    background: #D4E2E1;
    color:black;
}
#menu-list a span {
  font-size: 1em;
  margin-right: 5px;
}
.navbar-header button.navbar-toggle, .navbar-header .icon-bar {
    border: 2px solid #DEE0DB;
}
.navbar-header button.navbar-toggle {
    clear: both;
}
/*******END HEADER*******/

              
            
!

JS

              
                
              
            
!
999px

Console