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

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 data-spy="scroll" data-target="#main-navbar" data-offset="0">
<nav id="#main-navbar" class="navbar navbar-default navbar-fixed-top">
  <div class="container">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-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>
      <a class="navbar-brand" href="#" style="color:#fff;">W.co</a>
    </div>
    <div class="collapse navbar-collapse" id="#bs-collapse">
       <ul class="nav navbar-nav navbar-right">
          <li class="active"><a href="#about">About</a></li>
          <li><a href="#portfolio">Portfolio</a></li>
          <li><a href="#contact">Contact</a></li>
       </ul>
    </div>
  </div>
</nav>

<body>
  <section id="about">
    <div class="masthead container">
      <div class="row">
        <div class="col-sm-12">

          <div class="media">
            <a class="media-left" href="#">
              <img class="media-object" src="https://s26.postimg.org/xn3530hyh/office1.jpg" alt="selfie">
            </a>
            <div class="media-body">
              <h4 class="media-heading">Hi, I'm E.</h4>
              <p class="media-para">I'm a front-end web developer that specializes in building user interfaces with Bootstrap and web solutions with JavaScript. I also dabble with AngularJS, Meteor, and Ionic.</p>
            </div><!-- end of media-body -->
          </div><!-- end of media -->
        </div><!-- end of col -->
      </div><!-- end of row -->
    </div><!-- end of masthead -->
    <div class="about container">
      <div class="row">
        <div class="col-sm-12">
          <h2 class="heading">About Me</h2>
            <p class="about-para lead">I've been fortunate enough to work with some great business owners and non-profit organizations for the past year. As a developer, I have designed and built original websites that are mobile-friendly, interactive, and provide great user experiences for visitors. I also teach clients how to customize open source themes, templates, and interfaces for multiple use to provide affordable web solutions. Here are a few selected works below. Please feel free to click on the screenshot to go directly to the site.</p>
        </div>
      </div>
    </div>
  </section>
  <!-- end of container -->

  <section id="portfolio">
      <div class="container">
        <div class="row">
          <h2 class="heading">Selected Works</h2>
          <div class="col-sm-12 col-md-6 port-item">
            <a href="http://www.heartlandpeoplecare.net"><img src="https://s26.postimg.org/jx8lu7uuh/heartlandpc.jpg"></a>
          </div>
          <div class="col-sm-12 col-md-6 port-item">
            <a href="http://www.eatriceandspice.com"><img src="https://s26.postimg.org/yuh2v882x/riceandspice.jpg"></a>
          </div>
        </div><!-- end of row -->
        <div class="row">
          <div class="col-sm-12 col-md-6 port-item">
            <a href="http://www.bcreativecoach.com"><img src="https://s26.postimg.org/g3f5l2dih/bcreative.jpg"></a>
          </div>
          <div class="col-sm-12 col-md-6 port-item">
            <a href="http://www.operationdrivenfp.org"><img src="https://s26.postimg.org/7z71gbr3d/operationdrive.jpg"></a>
          </div>
        </div><!-- end of row -->
      </div><!-- end of container -->
  </section>

  <section id="contact">
    <div class="container">
      <div class="row">
        <h2 class="heading">Contact Me</h2>
        <div class="col-sm-12 col-md-offset-1 col-md-5">
          <form role="form">
            <div class="form-group">
              <input type="text" class="form-control" id="name" placeholder="Name">
            </div>
            <div class="form-group">
              <input type="email" class="form-control" id="email" placeholder="Email">
            </div>
            <div class="form-group">
              <textarea class="form-control" rows="3" placeholder="Message"></textarea>
            </div>
            <button type="submit" class="btn btn-small btn-default">Submit</button>
          </form>
        </div><!-- end of column -->
        <div class="col-sm-12 col-md-6">
          <p class="lead">I'm always looking for opportunities to code with others, learn, and grow as a developer. Get in touch with me and lets work together to build something great!</p>
        </div><!-- end of column -->
      </div><!-- end of row -->
    </div><!-- end of container -->
  </section>

  </div>
  </div><!-- end of page container -->

  <section id="bottom">
    <div class="container">
      <div class="row">
        <div class="col-xs-6 col-md-6">
          <h2>About this Page</h2>
          <p class="contact-para">Made for <a href="https://freecodecamp.com">Free Code Camp</a> by <a href="https://twitter.com/SheThrives11">E. Wilson</a></p>
        </div>
        <div class="col-xs-6 col-md-6">
          <h2>Connect with Me</h2>
          <ul class="sm-links">
            <li>
              <a href="https://www.twitter.com/SheThrives11">
              <span class="fa-stack fa-lg">
                <i class="fa fa-circle-thin fa-stack-2x"></i>
                <i class="fa fa-twitter fa-stack-1x"></i>
              </span>
              </a>
            </li>
            <li>
              <a href="https://www.github.com/Wilcott321">
              <span class="fa-stack fa-lg">
                <i class="fa fa-circle-thin fa-stack-2x"></i>
                <i class="fa fa-github fa-stack-1x"></i>
              </span>
              </a>
            </li>
            <li>
              <a href="">
              <span class="fa-stack fa-lg">
                <i class="fa fa-circle-thin fa-stack-2x"></i>
                <i class="fa fa-linkedin fa-stack-1x"></i>
              </span>
              </a>
            </li>
            <li>
              <a href="https://codepen.io/SheThrives11">
              <span class="fa-stack fa-lg">
                <i class="fa fa-circle-thin fa-stack-2x"></i>
                <i class="fa fa-codepen fa-stack-1x"></i>
              </span>
              </a>
            </li>
          </ul>
        </div>
      </div>
    </div>
  </section>

  <footer>
    <div class="container">
      <div class="row">
        <div class="col-sm-12">
          <p><i class="fa fa-creative-commons"></i> for creative, non-commercial use, 2016.</p>
        </div>
      </div>
    </div>
  </footer>

</body>
              
            
!

CSS

              
                body {
  position:relative;
  padding-top: 50px;
  height: 100%;
}
.active {
  background-color: #B3E5FC; 
  color: #fff;
}
.navbar-fixed-top {
  background-color: #0288D1;
  color: #fff;
}
nav > .container > .navbar-collapse > .navbar-right a {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 3px;
}
nav > .container > .navbar-collapse > .navbar-right a:hover {
  background-color: #B3E5FC;
}
.btn-default {
  color: #fff;
  background-color: #0288D1;
}
.heading {
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  padding: 30px 0;
  letter-spacing: 3px;
}

.lead {
  color: #fff;
  padding: 0 45px;
}
.masthead {
  background-color: #B3E5FC;
  color: #0288D1;
}
.masthead img {
  border-radius: 70%;
  border: 6px solid #fff;
}
.about {
  background-color: #0288D1;
}
.media {
  padding: 50px 80px;
}
.media-left {
  padding-right: 50px;
}
.media-heading {
  font-size: 4em;
}
.media-para {
  font-size: 2em;
}
.about-para {
  padding-bottom: 30px;
}
.contact-para {
  font-size: 1.25em;
}
.contact-para a:hover {
  color: #fff;
}
.port-item {
  margin: 100px auto 50px auto;
}
#portfolio > .container, #contact > .container {
  background-color: #0288D1;
}
#contact > .container {
  padding-top: 70px;
  padding-bottom: 70px;
}

.sm-links li {
  list-style-type: none;
  display: inline;
  padding-right: 20px;
}
.sm-links li a:hover {
  color: #fff;
}
#bottom {
  text-align: center;
}
#bottom > .container {
  height: 200px;
  background-color: #B3E5FC;
  color: #0288D1;
  padding-top: 30px;
}
footer {
  text-align: center;
  height: 50px;
  background-color: #0288D1;
  color: #fff;
  padding-top: 15px;
  height: 100%;
  text-transform: uppercase;
}





              
            
!

JS

              
                
              
            
!
999px

Console