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

              
                <head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link href="https://fonts.googleapis.com/css?family=Abel" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css?family=Courgette" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css?family=Handlee" rel="stylesheet">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>

<header>
  <div 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="#myNavbar">
         <span class="icon-bar"></span>
         <span class="icon-bar"></span>
         <span class="icon-bar"></span>
       </button>
       <a class="logo" href="#">BP</a>
     </div>
     <div class="collapse navbar-collapse" id="myNavbar">
        <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 ME</a></li>
        </ul>
     </div>
    </div> 
  </div>
</header>

<main>
  <section id="about">
    <div class="row">
      <div class="col-sm-12">
        <div class="jumbotron center-block">
          <div class="container-fluid text-center">
            <img class="rounded" src="https://cdn.gratisography.com/photos/440H.jpg"></img>
            <h2>Benita Palmer</h2>
            <h3>Web Developer | UI/UX Designer</h3>
            <p class="text-justify">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer nec odio. Praesent libero. Sed cursus ante dapibus diam. Sed nisi. Nulla quis sem at nibh elementum imperdiet. Duis sagittis ipsum. Praesent mauris. Fusce nec tellus sed augue semper porta. Mauris massa. Vestibulum lacinia arcu eget nulla. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Curabitur sodales ligula in libero.</p>
          </div>
        </div>
      </div>
    </div>
  </section>

  <section id="portfolio">
    <div class="container">
      <h3 id="portfolio-heading">Portfolio</h3>
      <div class="row">
        <div class="col-md-4">
          <div class="thumbnail">
            <a href="https://images.unsplash.com/photo-1524055117800-683336a51803?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=1b6e1fddb7a620d94f4392415c66586f&auto=format&fit=crop&w=750&q=80" target="_blank">
              <img src="https://images.unsplash.com/photo-1524055117800-683336a51803?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=1b6e1fddb7a620d94f4392415c66586f&auto=format&fit=crop&w=750&q=80" alt="wedding" style="width:100%"></img>
            </a>
          </div>
        </div>
        <div class="col-md-4">
          <div class="thumbnail">
            <a href="https://images.unsplash.com/photo-1514761261404-b98b1682cefd?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=f50c4ca5a822b768af4bc3f1163a64d0&auto=format&fit=crop&w=500&q=60" target="_blank">
              <img src="https://images.unsplash.com/photo-1514761261404-b98b1682cefd?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=f50c4ca5a822b768af4bc3f1163a64d0&auto=format&fit=crop&w=500&q=60" alt="architecture" style="width:100%"></img>
            </a>
          </div>
        </div>
        <div class="col-md-4">
          <div class="thumbnail">
            <a href="https://images.unsplash.com/photo-1522199755839-a2bacb67c546?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=8aa38437c9b977558f5b430d68773742&auto=format&fit=crop&w=752&q=80" target="_blank">
              <img src="https://images.unsplash.com/photo-1522199755839-a2bacb67c546?ixlib=rb-0.3.5&ixid=eyJhcHBfaWQiOjEyMDd9&s=8aa38437c9b977558f5b430d68773742&auto=format&fit=crop&w=752&q=80" alt="designer" style="width:100%"></img>
            </a>
          </div>
        </div>
      </div>
    </div>
  </section>
  <section id="contact">
    <div class="container">
      <h3 id="contact-heading">Contact Me</h3>
      <div class="row">
        <div class="col-md-6">
          <div class="form-group">
            <input id="name" type="text" class="form-control" name="name" placeholder="Name">
          </div>
          <div class="form-group">
            <input id="email" type="text" class="form-control" name="email" placeholder="Email">
          </div>
          <div class="form-group">
            <input id="message" type="text" class="form-control" name="message" placeholder="Message">
          </div>
        <br>
          <button type="button" class="btn">Send</button>
        </div>
        <div class="col-md-6">
          <h3>Interested in working with me?</h3>
          <p class="text-center">Just shoot me a message and I promise to reply asap.</p>
        </div>
      </div>
    </div>
  </section>
  <br>
  <footer class="text-center">
    <div class="container">
      <a href="#" class="fa fa-facebook"></a>
      <a href="#" class="fa fa-google"></a>
      <a href="#" class="fa fa-linkedin"></a>
      <a href="#" class="fa fa-instagram"></a>
      <a href="#" class="fa fa-twitter"></a>
      <p class="creator">2018 | Written and coded by Benita Palmer | A Free Code Camp Project
    </div>
  </footer>
</main>

              
            
!

CSS

              
                .navbar{
  padding: 20px 30px 0px 30px;
  background-color: #8B0000;
}

.logo {
  font-size: 50px;
  font-family: 'Courgette', 'cursive';
  color: #ffffff;
}

.logo:hover {
  text-decoration: none;
  color: #B3B6B7;
}

li {
  font-size: 20px;
  font-family: 'Abel';
  font-weight: bold; 
  color: #FFFFFF;
}

.jumbotron {
  margin-top: 70px;
  width: 90%;
}

h2 {
  font-size: 40px;
  font-weight:bold;
  text-align:center;
  font-family: 'Handlee', 'cursive';
}

h3 {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  font-family: 'Abel';
  padding-bottom: 10px;
}

p {
  font-family: 'Abel';
  font-size: 20px;
}

.rounded {
  width: 25%;
  border-radius: 50%;
  margin: 0 auto;
}

#portfolio {
  padding-top: 70px;
  padding-bottom: 20px;
}

#portfolio-heading {
  padding-bottom: 40px;
}

#contact {
  padding-top: 20px;
  padding-bottom: 20px;
}

#contact-heading {
  padding-bottom: 40px;
}

.fa {
  padding: 7px;
  font-size: 30px;
  width: 30px;
  text-align: center;
  text-decoration: none;
  margin: 15px 10px;
  border-radius: 50%;
}

.fa:hover {
    opacity: 0.7;
}
  
.fa-facebook {
  background: #3B5998;
  color: white;
}

.fa-google {
  background: #dd4b39;
  color: white;
}

.fa-linkedin {
  background: #007bb5;
  color: white;
}

.fa-instagram {
  background: #125688;
  color: white;
}

.fa-twitter {
  background: #55ACEE;
  color: white;
}

.creator {
  font-family: 'Handlee';
  font-size: 15px;
  font-weight: bold;
}
              
            
!

JS

              
                
              
            
!
999px

Console