Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation


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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

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

<!--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>

<!--Navigation Inputs-->
      <a class="navbar-brand" href="index.html"><img src="" alt="TechHut Logo"/></a>

    <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>

<!--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>

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

<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>

<!--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-->
    <h2>Featured Products</h2>
    <section class="featuredimage">
		<img src="" alt=""><img src="" alt=""><img src="" alt=""></section>

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

<!--Footer Section Will Include Links and About Us With Site Information All Fixed At The Bottom Of The Page With Margins and Padding-->
<!--Page Links-->
  <section class="floatLeft">
	    <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>

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

<!--Page Information-->
  <section class="copyright">Tech Hut &copy;2017. All rights reserved.</section>
              @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(;
	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;

🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.