123

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

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.

            
              <nav class="navbar navbar-default navbar-fixed-top">
  <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="navbar-brand" href="#">Roy Scheffers</a>
    </div>
  <div class="collapse navbar-collapse" id="myNavbar">
      <ul class="nav navbar-nav navbar-right">
        <li><a href="#intro">Intro</a></li>
        <li><a href="#about">About</a></li>
        <li><a href="#portofolio">Portfolio</a></li>
        <li><a href="#contact">Contact</a></li>
      </ul>
    </div>
</nav>
<div id="intro"><br></div>
<div class="container text-center">
  <div class="row intro">
    <div class="col-md-12">
    </div>
    <div class="col-md-7">
      <h2>Front End Web Developer</h2>
      <hr>
      For a number of years, I have worked in IT Service Management, initiating and facilitating improvements in the problem management process across infrastructure and application development teams. With a passion for problem solving, I am shifting my focus to web development.<br/><br>
      <div class="row">
        <div class="col-md-4">
           <a class="social" href="https://www.linkedin.com/in/royscheffers" target="_blank"><i class="fa fa-linkedin"></i> LinkedIn</a>
        </div>
        <div class="col-md-4">
          <a class="social" href="https://github.com/rscheffers82" target="_blank"><i class="fa fa-github"></i> GitHub</a></div>
        <div class="col-md-4">
          <a class="social" href="https://www.freecodecamp.com/rscheffers82" target="_blank"><i class="fa fa-fire"></i> FreeCodeCamp</a></div>
    </div>
      
      <br>
    </div>
    <div class="col-md-5 text-center">
      <div class="around-img"><img class="front-img" src="https://www.dropbox.com/s/spjzpz71iet2ocd/RoyScheffers-Medium.jpg?raw=1" alt="Roy Scheffers"></div>
    </div>
  </div>
</div>
<!-- About section -->
<div id="about" class="container text-center">
  <h2>About</h2>
  <hr>
  <div class="row">
    <div class="col-md-10 col-md-offset-1">I’ve always been a natural problem solver and paid strong attention to detail. My eagerness to learn is a characteristic that has come in handy throughout the many work projects I’ve undertaken.<br><br>

With degrees in Software Engineering and Financial Services Management, I can communicate comfortably with the business side as well as the technical teams within a company. Since I prefer IT, I decided to strengthen my skills as a web developer.<br><br>

When I’m not geeking away behind a screen, I enjoy going out for hikes in Canada’s wilderness and traveling with my second half.<br><br>
      
Check out my social media links and the projects in my portfolio to get an idea of my experience and works in progress. If you'd like to get in touch, feel free to use the contact form at the bottom of the page.<br><br>

      <img class="img-skills" src="https://www.dropbox.com/s/38a0gchmz8yogwu/HTML5_logo.png?raw=1">
      <img class="img-skills" src="https://www.dropbox.com/s/x40xw8z6h28vx9x/css3_logo.png?raw=1">
      <img class="img-skills" src="https://www.dropbox.com/s/8ipm9pl8kjptyq1/js_logo.png?raw=1">
      <img class="img-skills" src="https://www.dropbox.com/s/f3tg7lo00pudcfo/jquery_logo.png?raw=1">
      
    </div>
  </div>
</div>
<!-- Portofolio section -->
<div id="portofolio" class="container text-center">
  <h2>Portfolio</h2>
  <hr>
  <div class="row">
    <div class="col-xs-4 text-center">
      <h4>Local Weather App</h4>
      <a href="https://codepen.io/roycode/full/WwqYrB/" target="_blank"><img class="img-responsive project" src="https://www.dropbox.com/s/0r3f9y3pc68hq0p/Weather-application-in-javascript.jpg?raw=1"></a>
    </div>
    <div class="col-xs-4 text-center">
      <h4>Random Quote Generator</h4>
      <a href="https://codepen.io/roycode/pen/NNJzmG" target="_blank"><img src="https://www.dropbox.com/s/jthzxdvz94vfj05/random-quote-generator-javascript.jpg?raw=1" class="img-responsive placeholder" alt="future projects"></a>
    </div>
    <div class="col-xs-4 text-center">
      <h4>Tribute Page</h4>
      <a href="https://codepen.io/roycode/full/BKPamX/" target="_blank"><img src="https://www.dropbox.com/s/jijf7ryijirkeyy/Project-StevenGreer.jpg?raw=1" class="img-responsive placeholder placeholder" alt="future projects"></a>
    </div>
  </div>
</div>
<!-- contact section -->
<div id="contact" class="container text-center">
  <div class="row">
    <div class="col-lg-8 col-lg-offset-2">
      <h2>Contact</h2>
      <hr>
      Interested in my work or just want to say hello? Drop me a note below...<br><br>
      <div class="row">
        <div class="col-md-4 form-group">
          <form action="https://formspree.io/r.scheffers@gmail.com" method="POST">
          <input class="form-control" name="name" placeholder="Name" type="text" required>
        </div>
        <div class="col-md-4 form-group">
          <input class="form-control" name="_replyto" placeholder="Email" type="email" required>
        </div>
        <div class="col-md-4 form-group">
          <input class="form-control" name="phone" placeholder="Phone" type="text" required>
        </div>    
      </div>
      <div class="row"> <!-- Message -->
        <div class="col-md-12 form-group text-center">
          <textarea class="form-control" name="message" placeholder="Comment" rows="5"></textarea><br>
          <button class="btn btn-send btn-primary text-center" type="submit"><i class="fa fa-paper-plane"></i>  Send</button>
          </form>
        </div>
      </div>
    </div>
  </div>
</div>
<footer class="container-fluid footer text-center">
  <p></p><p>Copyright © 2016 by Roy Scheffers. All rights reserved.</p>
</footer>
<!--
Known issue:
the Navbar doesn't seem to work on an ipad / iphone. See the below link to fix it
http://www.mitch-solutions.com/blog/17-ipad-jquery-live-click-events-not-working
https://www.wpguru.com.au/responsive-web-design-tips/click-event-working-ipad-iphone-ipod-fixed/
Feedback from fellow campers:
@dstryr
@amit-s
-->
            
          
!
            
              body {
  font: 15px "Open Sans", sans-serif;
  line-height: 1.6em;
  font-size: 1.75em;
  font-weight: 500;
  /*color: #665033;*/
  color: #241b09;
  position: relative;
  background-color: #CC9933;
}
h2,h3{
  font-family: Comfortaa;
}
.container {
  padding-top: 40px;
  padding-bottom: 30px;
  border: 1px solid #5b4314;
  border-radius: 10px;
  margin-bottom: 20px;
  background: url('https://www.dropbox.com/s/2ct3ihgi3dr7oys/concrete_seamless.png?raw=1');
  -webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.7);
  -moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.7);
  box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.7);
}
.navbar,
.navbar-default {
  background-color: #294c85;
  border-radius: 0px;
  border: 0px;
  margin-bottom: 0;
  font-size: 14px;
  letter-spacing: 3px;
  -webkit-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.7);
  -moz-box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.7);
  box-shadow: 0px 3px 5px 0px rgba(0,0,0,0.7);
 
}
.navbar-right{
  margin-right:0px;
}
.navbar-brand{
  padding-left: 25px !important;
  color: #ccccff !important;
}
.navbar-nav li a{
  color: #ccccff !important;
}
.navbar-nav li a:hover{
  background-color: #315A9E !important;
  border-radius: 10px;
}
.navbar-nav > .active > a,
.navbar-nav > .active > a:hover {
  background-color: #315A9E !important;
  border: 1px solid #182D4F;
  border-radius: 10px;
}

.around-img{
  width: 302px; 
  height: 302px;
  border-radius: 50%;
  border: 1px solid #5b4314;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  margin-bottom: auto;
}
.front-img {
  border-radius: 50%;
  border: solid 7px #CC9933;
  height: 300px;
  width: 300px;
}
.project{
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #5b4314;
  width: 80%
}
.placeholder{
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
}
.social{
  display: block;
  margin: auto;
  margin-bottom: 5px;
  padding: 3px 10px;
  border: 1px solid #5b4314;
  border-radius: 10px;
  background-color: gray;
  color: white;
  max-width: 15em;
  min-width: 10em;
}
.social:hover{
  color: white;
  text-decoration: none;
  background-color: #294c85;
}

#intro { 
  margin-bottom: 40px;
}
.about {
  background-color: #474e5d;
  color: #000;
}
.img-skills{
  margin: 5px;
  height: 150px;
  width: 100px;
}
.portofolio {
  background-color: #CC624D;
  color: #ffffff;
}

.btn-send{
  background-color: #294c85;
  color: #ededff;
  padding: 9px 33px 9px 33px;
  border: 1px solid white;
  border-radius: 20px;
}
.btn-send:hover{
  background-color: #3e79d9;
}
.footer {
  background-color: #2f2f2f;
  color: #ffffff;
  font-size: 0.8em;
}
hr{
  border: 0; 
  height: 0.1em; 
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(91, 76, 20, 0.75), rgba(0, 0, 0, 0));
}

            
          
!
            
              $('body').scrollspy({target: ".navbar", offset: 50});

$(document).on('click','.navbar-collapse.in',function(e) {
    if( $(e.target).is('a') && $(e.target).attr('class') != 'dropdown-toggle' ) {
        $(this).collapse('hide');
    }
});

$(".navbar a, footer a[href='#intro']").on('click', function(event) {
  event.preventDefault();   // Prevent default anchor click behavior
  var hash = this.hash;     // Store hash

  // Using jQuery's animate() method to add smooth page scroll
  // The optional number (900) specifies the number of milliseconds it takes to scroll to the specified area
  $('html, body').animate({
    scrollTop: $(hash).offset().top
  }, 900, function(){
    // Add hash (#) to URL when done scrolling (default click behavior)
    window.location.hash = hash;
  });
});

            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console