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.

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 id="page-top" data-spy="scroll" data-arget=".navbar-fixed-top">
  <!--Top Navigation Bar-->
  <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
    <div class="container">
      <div class="navbar-header page-scroll">
        <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
          <span class="sr-only">Toggle Navigation</span>
        </button>
        <div class="collapse navbar-collapse" id="myNavbar">
          <ul class="nav navbar-nav">
            <li class="hidden">
              <a class="page-scroll" href="#page-top"></a>
            </li>
            <li>
              <a class="page-scroll" href="#about">About</a>
            </li>
            <li>
              <a class="page-scroll" href="#portfolio">Portfolio</a>
            </li>
            <li>
              <a class="page-scroll" href="#contact">Contacts</a>
            </li>
          </ul>
        </div>
      </div>
  </nav>
  <div class="container-fluid">
    <div class="container jumbotron">
      <div class="row">
        <div class="col-xs-12">
          <section class="about-section" id="about">
            <div class="container">
              <div class="row">
                <!--About section-->
                <h2 class="text-center">About</h2>
                <div class="col-xs-8">
                  <p>I'm a software developer. My interests are web development, app development and product management.</p>
                  <hr id="summary" />
                  <p>Web Developer | App Developer | Product Manager</p>
                </div>
                <div class="col-xs-4">
                  <img class="img-responsive" id="me" src="https://cdn.rawgit.com/edkahara/personal-portfolio-page/537fd7dd/img/me.jpg" alt="me" />
                </div>
              </div>
            </div>
          </section>
        </div>
        <div class="col-xs-12">
          <section class="portfolio-section" id="portfolio">
            <div class="container">
              <div class="row projects">
                <!--Portfolio Section-->
                <h2 class="text-center">Portfolio</h2>
                <hr />
                <div class="col-xs-4">
                  <a href="http://codepen.io/edkahara/pen/rrBqQO">
                      <img class="img-responsive" src="https://cdn.rawgit.com/edkahara/personal-portfolio-page/537fd7dd/img/tribute.png" />
                    </a>
                </div>
                <div class="col-xs-4">
                  <a href="https://codepen.io/edkahara/pen/GjvQaq">
                      <img class="img-responsive" src="https://cdn.rawgit.com/edkahara/personal-portfolio-page/537fd7dd/img/quote.png" />
                    </a>
                </div>
                <div class="col-xs-4">
                  <a href="https://codepen.io/edkahara/pen/NRarqO">
                      <img class="img-responsive" src="https://cdn.rawgit.com/edkahara/personal-portfolio-page/537fd7dd/img/weather.png" />
                    </a>
                </div>
              </div>
              <div class="row projects">
                <div class="col-xs-4">
                  <a href="https://codepen.io/edkahara/pen/ZpvXxB">
                      <img class="img-responsive" src="https://cdn.rawgit.com/edkahara/personal-portfolio-page/537fd7dd/img/wikipedia.png" />
                    </a>
                </div>
                <div class="col-xs-4">
                  <a href="https://codepen.io/edkahara/pen/ZpAgLr">
                      <img class="img-responsive" src="https://cdn.rawgit.com/edkahara/personal-portfolio-page/537fd7dd/img/twitch.png" />
                    </a>
                </div>
                <div class="col-xs-4">
                  <a href="https://codepen.io/edkahara/pen/VPYZEv">
                      <img class="img-responsive" src="https://cdn.rawgit.com/edkahara/personal-portfolio-page/537fd7dd/img/calculator.png" />
                    </a>
                </div>
              </div>
              <div class="row projects">
                <div class="col-xs-4">
                  <a href="https://codepen.io/edkahara/pen/MJJNwy">
                      <img class="img-responsive" src="https://cdn.rawgit.com/edkahara/personal-portfolio-page/537fd7dd/img/pomodoro.png" />
                    </a>
                </div>
                <div class="col-xs-4">
                  <a href="https://codepen.io/edkahara/pen/PWjaoL">
                      <img class="img-responsive" src="https://cdn.rawgit.com/edkahara/personal-portfolio-page/537fd7dd/img/tic.png" />
                    </a>
                </div>
                <div class="col-xs-4">
                  <a href="https://codepen.io/edkahara/pen/EZEEpN">
                      <img class="img-responsive" src="https://cdn.rawgit.com/edkahara/personal-portfolio-page/537fd7dd/img/simon.png" />
                    </a>
                </div>
              </div>
            </div>
          </section>
        </div>
        <div class="col-xs-12">
          <section class="contact-section" id="contact">
            <div class="container">
              <div class="row">
                <div class="col-xs-12">
                  <!--Contact section-->
                  <h2 class="text-center">Contact Me</h2>
                  <hr />
                  <form class="form-horizontal">
                    <div class="form-group">
                      <label for="contact-name" class="col-lg-2 control-label">Name:</label>
                      <div class="col-lg-10">
                        <input type="text" class="form-control" id="contact-name" placeholder="Full Name" />
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="contact-email" class="col-lg-2 control-label">Email:</label>
                      <div class="col-lg-10">
                        <input type="text" class="form-control" id="contact-name" placeholder="you@example.com" />
                      </div>
                    </div>
                    <div class="form-group">
                      <label for="contact-msg" class="col-lg-2 control-label">Message:</label>
                      <div class="col-lg-10">
                        <textarea class="form-control" rows="30"></textarea>
                      </div>
                    </div>
                    <button id="send" class="btn btn-primary" type="submit">Send</button>
                  </form>
                </div>
              </div>
            </div>
          </section>
        </div>
      </div>
    </div>
  </div>
  <!--Bottom Navigation Bar-->
  <nav class="navbar navbar-inverse navbar-bottom">
    <div class="container">
      <div class="collapse navbar-collapse">
        <div class="row nav navbar-nav">
          <div class="col-xs-2">
            <a href="https://www.linkedin.com/in/edward-njoroge-a9936693?trk=nav_responsive_tab_profile" class="web-buttons btn"><i class="fa fa-linkedin"></i></a>
          </div>
          <div class="col-xs-2">
            <a href="https://github.com/edkahara" class="web-buttons btn"><i class="fab fa-github"></i></a>
          </div>
          <div class="col-xs-2">
            <a href="https://codepen.io/edkahara" class="web-buttons btn"><i class="fab fa-codepen"></i></a>
          </div>
          <div class="col-xs-2">
            <a href="https://twitter.com/edkahara" class="web-buttons btn"><i class="fab fa-twitter"></i></a>
          </div>
          <div class="col-xs-2">
            <a href="https://freecodecamp.com/ed-kahara" class="web-buttons btn"><i class="fab fa-free-code-camp"></i></a>
          </div>
          <div class="col-xs-2">
            <a href="https://medium.com/@edkahara" class="web-buttons btn"><i class="fab fa-medium"></i></a>
          </div>
        </div>
      </div>
    </div>
  </nav>
</body>
              
            
!

CSS

              
                #about {
  background-color: gray;
}
#portfolio {
  background-color: white;
}
#contact {
  background-color: purple;
}
.web-buttons {
  background-color: black;
  border-radius: 100%;
  margin: 10px auto;
}
#me {
  border-radius: 100%;
  padding: 20px;
}
hr {
  width: 500px;
}
#summary {
  width: 400px;
}
img {
  height: 100%;
  width: 100%;
}
.projects {
  margin: 10px;
}
#send {
  float: right;
  clear: both;
  margin-bottom: 10px;
}
.web-buttons {
  background-color: white;
  border-radius: 100%;
  margin: 10px auto;
}

              
            
!

JS

              
                
              
            
!
999px

Console