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

              
                
<!--Header Section Fixed To The Top-->
<header>

<!--Background Image Will Be In The Background-->

<!--Navigation Start-->
<nav class="navbar navbar-inverse navbar-fixed-top">
  <div class="container-fluid">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar" aria-expanded="false">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>

<!--Navigation Inputs-->
      <a class="navbar-brand" href="index.html"><img src="https://s17.postimg.org/i6wzqi87z/techhuthomepage.png" alt="TechHut Logo"/></a>
    </div>


    <div class="collapse navbar-collapse" id="navbar">
      <ul class="nav navbar-nav">
        <li class="active"><a href="index.html">Home</a></li>
        <li><a href="products.html">Products</a></li>
        <li><a href="contact.html">Contact Us</a></li>
      </ul>

<!--Search Bar For Products-->
		<form class="navbar-form navbar-right">
      <div class="input-group">
        <input type="text" class="form-control" placeholder="Search">
      <div class="input-group-btn">
        <button class="btn btn-default" type="submit">
          <i class="glyphicon glyphicon-search"></i>
        </button>
      </div>
      </div>
    </form>

<!--Shopping Cart Button-->
      <ul class="nav navbar-nav navbar-right">
        <li><a href="#"><span class="glyphicon glyphicon-shopping-cart"></span>Shopping Cart</a></li>
      </ul>
    </div>
  </div>
</nav>

<div class="backgroundheader">
  <h1>Welcome To TechHut</h1>

  <!--Shop Now Button Will Sit The Middle and Link To Product Page Not 100 Percent Sure Where To Link It But I Will Figure-->
  <button type="button" class="btn btn-sm btn-default">Shop Now</button>
</div>
</header>

<!--Main Featured Products Section Where Text and All The Featured Product Images Will Go Unless There Are No Images Then A No Products Will Be Displayed-->
<main>
  <article>
    <h2>Featured Products</h2>
    <section class="featuredimage">
		<img src="" alt=""><img src="" alt=""><img src="" alt=""></section>
  </article>
</main>

<!--Ads Go Here As Soon As I Figure Out How To Insert Them and Put Them To The Right -->
<aside></aside>

<!--Footer Section Will Include Links and About Us With Site Information All Fixed At The Bottom Of The Page With Margins and Padding-->
<footer>
<!--Page Links-->
  <section class="floatLeft">
    <h3>Links</h3>
	  <ul>
	    <li><a href="home.html">Home</a> </li>
      <li><a href="products.html">Products</a> </li>
			<li><a href="contact.html">Contact Us</a></li></ul>
  </section>

<!-- About Us More Information Will Be Added	-->
  <section class="floatRight">
	  <h3>About TechHut</h3>
	  <p>TechHut is an online electronics store.</p>
	</section>

<!--Page Information-->
  <section class="copyright">Tech Hut &copy;2017. All rights reserved.</section>
</footer>
</body>
</html>
              
            
!

CSS

              
                @charset "utf-8";
/* CSS Document */

body {
	font-family: Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", serif;

}

nav {
	text-align: center;
	font-size: 20px;
	color: #000000;
	
}
a {
	color: #0A0101;
}
.navbar-brand {
	padding: 0px;
}
.navbar-brand img {
	width: 100px;
	height: 50px;
}



.backgroundheader {
	padding-top: 70px;
	background-image: url(https://s17.postimg.org/lqixg8imn/beach.png);
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size: cover;
	padding-bottom: 30px;
  height: 100vh;
  width: 100%;
}
	
h1 {
	top: 50%;
	display: block;
	text-align: center;
	font-family: "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", Verdana, sans-serif;
	font-weight: 500;
	font-size: 3em;
	
}

.btn.btn-sm.btn-default {
	text-align: center;
	vertical-align: middle;
	font-size: 15px;
	margin: 0 auto;
	display: block;
}
h2 {
	font-size: x-large;
	text-align: center;
}


h3 {
	font-size: large;
}

li   {
	list-style-type: none;
	font-size: 14px;

}
p {
	font-size: 14px;
}

.floatLeft {
	float: left;
	margin-left: 5%;
	margin-right: 5px;
}

.floatRight {
	float: right;
	margin-right: 5%;
	margin-left: 5%;
}
.featuredimage {
}

footer {




}


.copyright {
	background-color: #f0b723;
	clear: both;
	text-align: center;
	font-size: small;
}

              
            
!

JS

              
                
              
            
!
999px

Console