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

              
                <html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="freeCodeCamp Portfolio Page">
    <meta name="author" content="Ron Floyd">

    <title>Portfolio Webpage</title>

    <!-- Bootstrap core CSS -->
    <link href="../../dist/css/bootstrap.min.css" rel="stylesheet">
    
    <!-- Font Awesome core CSS -->
    <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"/>

    <!-- Custom styles for this template -->
    <link href="navbar-top-fixed.css" rel="stylesheet">
  </head>

  <body>

    <nav class="navbar fixed-top navbar-toggleable-md navbar-inverse bg-primary">
      <button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
        <span class="navbar-toggler-icon"></span>
      </button>
      <a class="navbar-brand" href="https://www.freecodecamp.com/ronfloyd" target="_blank">Ron Floyd</a>

      <div class="collapse navbar-collapse" id="navbarSupportedContent">
        <ul class="navbar-nav mx-auto">
          <li class="nav-item">
            <a class="nav-link" href="#about">About</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="#portfolio">Portfolio</a>
          </li>
          <li class="nav-item">
            <a class="nav-link" href="#contact">Contact</a>
          </li>
        </ul>
        <form class="form-inline my-2 my-lg-0">
          <input class="form-control mr-sm-2" type="text" placeholder="Search">
          <button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button>
        </form>
      </div>
    </nav>

    <div id="about" class="container">
      <div class="jumbotron">
        <h1>Web Developer <i class="fa fa-laptop" aria-hidden="true"></i></h1>
        <p class="lead">Front-end developer and accessibility specialist at CollegeNET.</p>
      </div>
    </div>
    
    <div id="portfolio" class="album text-muted">
      <div class="container">

        <div class="row">
          <div class="card col-12 col-sm-6 col-md-4">
            <a href="https://codepen.io/ronFloyd/full/XMLaRV/" target="_blank">
              <img src="https://dl.dropboxusercontent.com/s/5y1mwnjxwqupr1b/2016-tesla-model-s-p90d.jpg?dl=0" class="figure-img img-fluid rounded" alt="Red Tesla Model S Sedan">
              <p class="card-text">freeCodeCamp Project: Build a Tribute Page.</p>
            </a>
          </div>
          <div class="card col-12 col-sm-6 col-md-4">
            <a href="https://dl.dropboxusercontent.com/s/s5nbkvb3lp4r4rw/sunrise_full.jpg?dl=0" target="_blank">
              <img src="https://dl.dropboxusercontent.com/s/4255z619t0ji9wq/sunrise.jpg?dl=0" class="figure-img img-fluid rounded" alt="Mt. Hood at Sunrise.">
              <p class="card-text">Placeholder photo. No project here yet.</p>
            </a>
          </div>
          <div class="card col-12 col-sm-6 col-md-4">
            <a href="https://dl.dropboxusercontent.com/s/b9br6n8ysp5mozj/playhouses.jpg?dl=0" target="_blank">
              <img src="https://dl.dropboxusercontent.com/s/8rl9lj14ihnbuoh/playhouses_thumb.jpg?dl=0" class="figure-img img-fluid rounded" alt="Playhouses">
              <p class="card-text">Placeholder photo. No project here yet.</p>
            </a>
          </div>

          <div class="card col-12 col-sm-6 col-md-4">
            <a href="https://dl.dropboxusercontent.com/s/b9ryng9yo0337pe/snowy_tree.jpg?dl=0" target="_blank">
              <img src="https://dl.dropboxusercontent.com/s/n6nocezj0eui69o/snowy_tree_thumb.jpg?dl=0" class="figure-img img-fluid rounded" alt="A snow covered tree.">
              <p class="card-text">Placeholder photo. No project here yet.</p>
            </a>
          </div>
          <div class="card col-12 col-sm-6 col-md-4">
            <a href="https://dl.dropboxusercontent.com/s/s8x84sw1f5zjegf/yinyang.jpg?dl=0" target="_blank">
              <img src="https://dl.dropboxusercontent.com/s/b7pxc86uyzkuh78/yinyang_thumb.jpg?dl=0" class="figure-img img-fluid rounded" alt="Card image cap">
              <p class="card-text">Placeholder photo. No project here yet.</p>
            </a>
          </div>
          <div class="card col-12 col-sm-6 col-md-4">
            <a href="https://dl.dropboxusercontent.com/s/nj7nihu1b9vr260/restrooms.jpg?dl=0" target="_blank">
              <img src="https://dl.dropboxusercontent.com/s/xbbamfzgnn87k2n/restrooms_thumb.jpg?dl=0" class="figure-img img-fluid rounded" alt="Card image cap">
              <p class="card-text">Placeholder photo. No project here yet.</p>
            </a>
          </div>  
        </div>

      </div>
    </div>
    
    <form>
      <div class="container">
        <h2 id="contact" class="mt-4">Contact Me</h2><hr class="mb-4">
        <div class="form-group row">
          <label for="contact-full-name" class="col-4 col-form-label text-right">Name</label>
          <div class="col-4">
            <input class="form-control" type="text" id="contact-full-name">
          </div>
        </div>

        <div class="form-group row">
          <label for="contact-email-input" class="col-4 col-form-label text-right">Email</label>
          <div class="col-4">
            <input class="form-control" type="email" id="contact-email-input">
          </div>
        </div>

        <div class="form-group row">
          <label for="contact-subject" class="col-4 col-form-label text-right">Subject</label>
          <div class="col-4">
            <input class="form-control" type="text" id="contact-subject">
          </div>
        </div>

        <div class="form-group row">
          <label for="contact-tel" class="col-4 col-form-label text-right">Phone</label>
          <div class="col-4">
            <input class="form-control" type="tel" id="contact-tel">
          </div>
        </div>
    
        <div class="form-group row">
          <label for="contact-message" class="col-4 col-form-label text-right">Message</label>
          <div class="col-4">
            <textarea class="form-control" id="contact-message" rows="3"></textarea>
          </div>
        </div>
        
        <div class="form-group row">
          <div class="col-4"></div>
          <div class="col-4">
            <button type="submit" class="btn btn-primary">Submit</button>
          </div>
        </div>
      </div>
    </form>
    
    <footer class="bg-inverse text-white">
      <div class="container">
        <div class="row">
          <p class="col-12 col-sm-3"><a href="https://www.freecodecamp.com/ronfloyd" target="_blank">&copy; Ron Floyd</a></p>
          <a href="https://github.com/ronFloyd" target="_blank" class="btn btn-social-icon btn-github col-12 col-sm-2" title="Ron Floyd's Github">
            <span class="fa fa-github fa-3x"></span>
          </a>
          <a href="https://www.linkedin.com/in/bronfloyd/" target="_blank" class="btn btn-social-icon btn-linkedin col-12 col-sm-2" title="Ron Floyd's LinkedIn">
            <span class="fa fa-linkedin fa-3x"></span>
          </a>
          <a href="https://twitter.com/bRonFloyd" target="_blank" class="btn btn-social-icon btn-twitter col-12 col-sm-2" title="Ron Floyd's Twitter">
            <span class="fa fa-twitter fa-3x"></span>
          </a>
          <a href="#" class="col-12 col-sm-3 text-right">Back to top</a>
        </div>
      </div>
    </footer>


    <!-- Bootstrap core JavaScript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="https://code.jquery.com/jquery-3.1.1.slim.min.js" integrity="sha384-A7FZj7v+d/sdmMqp/nOQwliLvUsJfDHW+k9Omg/a/EheAdgtzNs3hpfag6Ed950n" crossorigin="anonymous"></script>
    <script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js" integrity="sha384-DztdAPBWPRXSA/3eYEEUWrWCy7G5KFbe8fFjk5JAIxUYHKkDx6Qin1DkWx51bBrb" crossorigin="anonymous"></script>
    <script src="../../dist/js/bootstrap.min.js"></script>
    <!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
    <script src="../../assets/js/ie10-viewport-bug-workaround.js"></script>
  </body>
</html>
              
            
!

CSS

              
                body {
  min-height: 75rem;
  /* Can be removed; just added for demo purposes */
}

.navbar {
  margin-bottom: 0;
}

.jumbotron {
  padding-top: 6rem;
  padding-bottom: 3rem;
  margin-bottom: 0;
  background-color: #fff;
}

.jumbotron p:last-child {
  margin-bottom: 0;
}

.jumbotron-heading {
  font-weight: 300;
}

.jumbotron .container {
  max-width: 40rem;
}

/* BEGIN ALBUM CSS */
.album {
  min-height: 50rem;
  /* Can be removed; just added for demo purposes */
  padding-top: 3rem;
  padding-bottom: 3rem;
  background-color: #f7f7f7;
}

.card {
  float: left;
  width: 33.333%;
  padding: .75rem;
  margin-bottom: 2rem;
  border: 0;
}

.card > img {
  margin-bottom: .75rem;
}

.card-text {
  font-size: 85%;
}

footer {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

footer p {
  margin-bottom: .25rem;
}
/* END ALBUM CSS */
              
            
!

JS

              
                
              
            
!
999px

Console