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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                <body>
  <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
    <div class="container">
      <div class="navbar-header">
        <button class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
    <span class="icon-bar"></span>
  </button>
        <a href="#" class="navbar-brand">Home</a>
      </div>
      <div class="collapse navbar-collapse" id="myNavbar">
        <ul class="nav navbar-nav navbar-right">
          <li>
            <a href="#about">About</a>
          </li>
          <li>
            <a href="#portfolio">Portfolio</a>          </li>
          <li>
            <a href="#contact">Contact</a>
            </li>
        </ul>
      </div>
    </div>
  </nav>
  <div id="about" class="container-fluid bg1 text-center">
    <h3>Hi! I am Tom</h3>
    <img class="img-circle" src="https://res.cloudinary.com/dlcaxgtib/image/upload/v1487164204/tom_wec4tl.jpg"  width="350" height="350">
    <h3>I am a web developer.</h3>
  </div>
  <div id="portfolio" class=" container-fluid bg2 text-center">
    <h3>Portfolio</h3>
    
    <div class="row">
    
    <div class="col-md-4 firstimg">
       <h5>The Lorem</h5>
       <img class="img-responsive" src="https://res.cloudinary.com/dlcaxgtib/image/upload/v1487159538/picon_e6m5aa.png" width="350" height="300">
       <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vel iaculis mi, ullamcorper mattis sem.</p>
    </div>

    <div class="col-md-4 ">
       <h5>The Ipsum</h5>
       <img class="img-responsive" src="https://res.cloudinary.com/dlcaxgtib/image/upload/v1487159538/picon_e6m5aa.png" width="350" height="300">
       <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vel iaculis mi, ullamcorper mattis sem.</p>
    </div>

    <div class="col-md-4 ">
       <h5>The Dolor</h5>
       <img class="img-responsive" src="https://res.cloudinary.com/dlcaxgtib/image/upload/v1487159538/picon_e6m5aa.png" width="350" height="300">
       <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris vel iaculis mi, ullamcorper mattis sem.</p>


    </div>
    </div>

  </div>
   <div id="contact" class="container-fluid bg3 text-center">
  
    <h3>You can leave me a message here.</h3>
    <div class="container">
    <form role="form">
      <div class="form-group">
         <label for="Name">Name:</label>
         <input type="Name" class="form-control" id="Name">
      </div>
      <div class="form-group">
    <label for="Email">Email:</label>
    <input type="Email" class="form-control" id="Email">
  </div>
  <div class="form-group">
  <label for="comment">Message:</label>
  <textarea class="form-control" rows="3" id="Message"></textarea>
</div>
<input type="submit" class="btn btn-info" value="Send">
    </form>
    </div>
  </div>
  <footer class="container-fluid bg4 text-center icon">
    <a href="https://www.twitter.com" target="_blank"><i class="fa fa-twitter"></i></a>
  <a href="https://www.linkedin.com" target="_blank"><i class="fa fa-linkedin"></i></a>
  <a href="https://www.github.com" target="_blank"><i class="fa fa-github"></i></a>
  <a href="https://www.freecodecamp.com" target="_blank"><i class="fa fa-free-code-camp"></i></a>
  </footer>
</body>
              
            
!

CSS

              
                .bg1{
	background-color: #FB8269  /*#1abc9c*/;
	margin-top:50px;
	letter-spacing: 0.5em;
  color: white;
}
  .bg2{
	background-color: #474e5d; 
	letter-spacing: 0.5em;
	color: white;

}
.bg2 h3{
	letter-spacing: 0.5em;
  padding-bottom:40px;
}
.bg3{
	background-color: #ffffff;
	letter-spacing: 0.5em;
}
.container-fluid{
	padding-top: 70px;
	padding-bottom: 70px;
}
.firstimg{
	display: inline;
}
.bg4{
	background-color: black;
}

p{
	padding-top: 2em;
	text-align: left;
	letter-spacing: 0.2em;
}
h5{
	padding-right: 5em;
}
.bg4{
  background-color:black;
}
.icon{
	font-size:40px;
	color:white;
}
i{
  padding:15px;
}
              
            
!

JS

              
                
              
            
!
999px

Console