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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

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.

HTML

            
              
<body>
  <div class="container-fluid">
    <!--the below divs comprise the taskbar and its buttons-->
    <div class="row">
      <nav id="nav-bar" class="navbar-default navbar-fixed-top col-xs-12">
        <div class="col-xs-1 col-xs-offset-9">
          <a class="nav-link" href="#about"><button class="btn" id="aboutbutton">About</button></a>
        </div>
        <div class="col-xs-1">
          <a class="nav-link" href="#portfolio"><button class="btn">Portfolio</button></a>
        </div>
        <div class="col-xs-1 ">
          <a class="nav-link" href="#contact"><button class="btn" id="contact-button">Contact</button></a>
        </div>
      </div>
    </nav>
    <!--About section-->
    <div class="row">
      <div class="col-xs-8 col-xs-offset-2" id="about">
        <h2 id="aboutheading">About Me</h2>
        <div class="row">
          <div class="col-xs-7">
            <p>I am a full time elementary school teacher, and web design hobbyist.  I have experience in html, css, python, and ruby. I am currently completing the Free Code Camp front end tutorial in order to sharpen my skills.</p>
            <hr>
            <p>Responsive, Professional, Design</p>
        </div>
        <div class="col-xs-4 col-xs-offset-1">
          <img class="col-xs-4 col-xs-offset-1" src="http://www.denverteacherresidency.org/wp-content/uploads/2012/07/Troy-Hubbell.jpg" id="profile-pic">
        </div>
       </div>
      </div>
    </div>
    <!--Portfolio section-->
    <div class="row">
      <div class="col-xs-8 col-xs-offset-2" id="portfolio">
        <h2>Portfolio</h2>
        <!--Row 1 of portfolio pics-->
        <div class="row" id="portfolio-ln-1">
          <img class="col-xs-4" src="http://www.linnareacu.org/blog/wp-content/uploads/2011/07/Ninja.jpg"</img>
          <img class="col-xs-4" src="http://www.linnareacu.org/blog/wp-content/uploads/2011/07/Ninja.jpg"</img>
          <img class="col-xs-4" src="http://www.linnareacu.org/blog/wp-content/uploads/2011/07/Ninja.jpg"</img>
        </div>
        <!--row 2 of portfolio pics-->
        <div class="row" id="portfolio-ln-2">
          <img class="col-xs-4" src="http://www.linnareacu.org/blog/wp-content/uploads/2011/07/Ninja.jpg"</img>
          <img class="col-xs-4" src="http://www.linnareacu.org/blog/wp-content/uploads/2011/07/Ninja.jpg"</img>
          <img class="col-xs-4" src="http://www.linnareacu.org/blog/wp-content/uploads/2011/07/Ninja.jpg"</img>
        </div>
      </div>
    </div>
    <!--contacts section -->
    <div class="row">
      <div id="contact" class="col-xs-8 col-xs-offset-2">
        <p>E-mail:  </p>
        <p>phone number: </p>
        <div class="row">
        <a href="https://www.freecodecamp.com/socrates714" class="btn btn-primary col-xs-3 col-xs-offset-3" id="codecamplink" target="_blank">FreeCodeCamp</a>
          <a href="https://github.com/Socrates714" class="btn btn-primary col-xs-3" id="githublink" target="_blank">GIT HUB</a>
          
        </div>
      </div>
    </div>
    
  </div>
</body>
            
          
!

CSS

            
              body {
 background-color: #696969;
}

p {
  font-size: 1.4em;
}

#nav-bar {
  background-color: red;
  
  
}
#contact-button {
  margin-left: 1em;
}
#about {
  background-color: darkgray;
  margin-top: 1em;
}
#profile-pic {
  height: 11em;
  width: 10em;
}
#portfolio {
  background-color: lightgray;
}
#portfolio-ln-1 {
  margin-bottom: 1em;
}
#contact {
  background-color: #E3E3E3;
}
#freecodecampbutton {
  background-color: red;
}
#codecamplink {
  margin-right: 1em;
}
            
          
!

JS

            
              
            
          
!
999px

Console