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

              
                <body>
  <div class="container-fluid">
    <!-- top -->
    <a id="top"></a>

    <!-- NAVBAR     -->
    <nav class="navbar navbar-default navbar-fixed-top">
      <div class="container">
        <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="#top">William Cullian</a>
        </div>
        <div class="collapse navbar-collapse" id="myNavbar">
          <ul class="nav navbar-nav navbar-right">
            <li><a href="#about"><i class="fa fa-info-circle" aria-hidden="true"></i> About Me</a></li>
            <li><a href="#portfolio"><i class="fa fa-briefcase" aria-hidden="true"></i> Portfolio</a></li>
            <li><a href="#contact"><i class="fa fa-envelope-o" aria-hidden="true"></i> Contact</a></li>
            <li><a href="https://drive.google.com/open?id=0B-WMMThnqhkWQjBpaEFvRUszaGM" target="_blank"><i class="fa fa-file-pdf-o" aria-hidden="true"></i> Resume</a></li>
          </ul>
        </div>
      </div>
    </nav>
    <!-- end navbar-->

    <!--     JUMBOTRON -->
    <header class="jumbotron">
      <div class="container">
        <div class="row row-header">
          <div class="col-xs-12">
            <h1>William's Web Werks</h1>
            <p>A software developer in progress</p>
          </div>
        </div>
      </div>
    </header>

    <!-- ABOUT -->
    <section id="about" class="about-section">
      <p style="padding:2.0em;"></p>
      <div class="container">
        <div class="row row-content">
          <div class="col-xs-12">
            <h2>About Me</h2>
            <hr>
            <p style="padding:2.0em;"></p>
          </div>
          <div class="col-xs-12 col-sm-8">
            <h2>I am a plumbing contractor attempting a career change.  Computers have always been a hobby for me.  Now, software development will be my career.</h2>
            <h2>I have already acquired some skills.  I know HTML5, CSS3 and Javascript.  And I have expanded my knowledge of them by learning frameworks and add-ons such as Bootstrap, JQuery and Angular JS.  I am currently taking classes for Object Oriented Programming in Java.</h2>
          </div>
          <div class="col-xs-12 col-sm-4">
            <img src="https://drive.google.com/uc?export=download&id=0B-WMMThnqhkWamd4X0MyejlWZDQ" alt="A picture of William Cullian and his dog Bear." title="A picture of William Cullian and his dog Bear." class="portrait img-circle image-responsive" width="300"
              height="320" alt="Picture of William and his dog Bear" />
          </div>
        </div>
      </div>
    </section>

    <!-- PORTFOLIO -->
    <section id="portfolio" class="portfolio-section">
      <p style="padding:2.0em;"></p>
      <div class="container-fluid">
        <h2>Portfolio</h2>
        <hr>
        <p style="padding:2.0em;"></p>
        <div class="row">
          <div class="col-xs-12 col-sm-6 col-md-4">
            <div class="thumbnail">
              <a href="https://cullian.github.io/" target="_blank">

                <img src="https://drive.google.com/uc?export=download&id=0B-WMMThnqhkWWkZhUUhQQ1ctcDA" alt="Tic-Tac-Toe AI" title="Tic-Tac-Toe AI" style="width:100%">
                <div class="caption">
                  <p>A Tic-Tac-Toe AI written in JavaScript for a final project at HarvardX.</p>
                </div>
              </a>
            </div>
          </div>
          <div class="col-xs-12 col-sm-6 col-md-4">
            <div class="thumbnail">
              <a href="https://codepen.io/cullian/full/EWzxgm/" target="_blank">
                <img src="https://upload.wikimedia.org/wikipedia/commons/e/e8/Grateful_Dead_-_Jerry_Garcia.jpg" alt="Jerry Garcia Tribute Pic" title="Jerry Garcia Tribute Pic" style="width:100%">
                <div class="caption">
                  <p>A Tribute Page for Jerry Garcia of the Grateful Dead.</p>
                </div>
              </a>
            </div>
          </div>
          <div class="col-xs-12 col-sm-6 col-md-4">
            <div class="thumbnail">
              <a href="#" target="_blank">
                <img src="https://images.pexels.com/photos/211122/pexels-photo-211122.jpeg?w=940&h=650&auto=compress&cs=tinysrgb" alt="Under Construction" title="Under Construction" style="width:100%">
                <div class="caption">
                  <p>This space under construction.</p>
                </div>
              </a>
            </div>
          </div>
        </div>
        <div class="row">
          <div class="col-xs-12 col-sm-6 col-md-4">
            <div class="thumbnail">
              <a href="#" target="_blank">
                <img src="https://images.pexels.com/photos/211122/pexels-photo-211122.jpeg?w=940&h=650&auto=compress&cs=tinysrgb" alt="Under Construction" title="Under Construction" style="width:100%">
                <div class="caption">
                  <p>This space under construction.</p>
                </div>
              </a>
            </div>
          </div>
          <div class="col-xs-12 col-sm-6 col-md-4">
            <div class="thumbnail">
              <a href="#" target="_blank">
                <img src="https://images.pexels.com/photos/211122/pexels-photo-211122.jpeg?w=940&h=650&auto=compress&cs=tinysrgb" alt="Under Construction" title="Under Construction" style="width:100%">
                <div class="caption">
                  <p>This space under construction.</p>
                </div>
              </a>
            </div>
          </div>
          <div class="col-xs-12 col-sm-6 col-md-4">
            <div class="thumbnail">
              <a href="#" target="_blank">
                <img src="https://images.pexels.com/photos/211122/pexels-photo-211122.jpeg?w=940&h=650&auto=compress&cs=tinysrgb" alt="Under Construction" title="Under Construction" style="width:100%">
                <div class="caption">
                  <p>This space under construction.</p>
                </div>
              </a>
            </div>
          </div>
        </div>
      </div>
    </section>
    <p style="padding:2%;"></p>

    <!-- CONTACT -->
    <section id="contact" class="contact-section">
      <p style="padding:2.0em;"></p>


      <div class="container">
        <h2>Contact Me</h2>
        <h4>This contact form does not work.  It is only here for demonstration purposes.  If you are an employer looking to contact me.  Please email me directly at</h4>
        <h4><a href="mailto:cullian@msn.com">cullian@msn.com.</a></h4>
        <div class="row">
          <form class="form-horizontal">
            <div class="form-group">
              <label class="control-label col-sm-2" for="name">Name</label>
              <div class="col-sm-8">
                <input type="text" class="form-control" id="name" placeholder="John Doe">
              </div>
            </div>
            <div class="form-group">
              <label class="control-label col-sm-2" for="email">Email</label>
              <div class="col-sm-8">
                <input type="email" class="form-control" id="email" placeholder="john_doe@example.com">
              </div>
            </div>
            <div class="form-group ">
              <label class="control-label col-sm-2" for="message">Your Message</label>
              <div class="col-sm-8">
                <textarea class="form-control" placeholder="Description"></textarea>
              </div>
            </div>
            <div class="form-group">
              <div>
                <button type="submit" class="btn btn-default">Send Message</button>
              </div>
            </div>
          </form>
          <p style="padding:2.0em;"></p>
          <hr>
        </div>
      </div>


    </section>

    <!-- FOOTER-->
    <footer class="row-footer">
      <div class="container">
        <div class="row">
          <div class="col-xs-12">
            <ul id="footer-above" class="list-inline">
              <li><a class="button social" href="https://www.linkedin.com/in/william-cullian-17634a76/" title="My Linkedin" target="_blank"><i class="fa fa-fw fa-linkedin" aria-hidden="true"></i></a></li>
              <li><a class="button social" href="https://github.com/cullian" title="My Github" target="_blank"><i class="fa fa-fw fa-github" aria-hidden="true"></i></a></li>
              <li><a class="button social" href="https://codepen.io/cullian/" title="My CodePen" target="_blank"><i class="fa fa-fw fa-codepen" aria-hidden="true"></i></a></li>
              <li><a class="button social" href="https://www.freecodecamp.com/cullian" title="My Free Code Camp" target="_blank"><i class="fa fa-fw fa-free-code-camp" aria-hidden="true"></i></a></li>
            </ul>
          </div>
        </div>
        <div class="row">
          <div class="col-xs-12">
            <p>Wrought by William Cullian. &nbsp&nbsp
              <script>
                document.write(new Date().getFullYear());
              </script>&nbsp&nbsp All Rights Reversed</p>
          </div>
        </div>
      </div>
    </footer>
    <!-- end footer -->
  </div>
</body>
              
            
!

CSS

              
                body {
  width: 100%;
  height: 100%;
  margin: 0 auto;
  padding: 0;
  font-family: lobster;
  background: no-repeat center center fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

h1,
h2 {
  text-align: center;
  color: white;
}

p {
  color: white;
}

.jumbotron {
  background-color: transparent;
  color: white;
  text-align: center;
}

.navbar-default {
  background-color: #0b8c27;
  border-color: #0b8c27;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-header > a:hover {
  color: #000;
}

.navbar-default .navbar-nav > li > a,
.navbar-default .navbar-header > a {
  color: white;
}

.contact-section a{
  color: white;
  font-size: 2em;
}

.contact-section > a:hover{
  color: #0b8c27;
}

.portrait {
  display: block;
  margin: 0 auto;
  border-color: #0b8c27;
  border-width: 0.3em;
  border-style: solid;
}

.caption > p {
  color: black;
}

.thumbnail {
  display: block;
}

.contact-section {
  text-align: center;
  color: white;
}

footer {
  width: 100%;
  overflow: hidden;
  margin 0 auto;
  padding: 0;
  color: white;
  background-color: transparent;
  text-align: center;
}

footer ul {
  text-align: center;
  list-style-type: none;
  position: relative;
  display: inline-block;
  margin-top: 1em;
  margin-bottom: 1em;
}

footer ul li {
  position: relative;
  display: inline;
}

footer ul a {
  border: none;
  font-size: 1.6em;
  color: white;
}

footer ul a:hover {
  color: #0b8c27;
}
              
            
!

JS

              
                // background images
$(function() {
  var backgroundImage = [
    "https://static.pexels.com/photos/235621/pexels-photo-235621.jpeg",
    "https://upload.wikimedia.org/wikipedia/commons/0/0d/Black_Labrador_Retrievers_portrait.jpg",
    "https://upload.wikimedia.org/wikipedia/commons/thumb/6/69/Seljalandsfoss%2C_Su%C3%B0urland%2C_Islandia%2C_2014-08-16%2C_DD_201-203_HDR.JPG/1280px-Seljalandsfoss%2C_Su%C3%B0urland%2C_Islandia%2C_2014-08-16%2C_DD_201-203_HDR.JPG",
    "https://images.pexels.com/photos/62627/niagara-cases-water-waterfall-62627.jpeg?w=940&h=650&auto=compress&cs=tinysrgb",
    "https://images.pexels.com/photos/306803/pexels-photo-306803.jpeg?w=940&h=650&auto=compress&cs=tinysrgb",
    "https://images.pexels.com/photos/50594/sea-bay-waterfront-beach-50594.jpeg?w=940&h=650&auto=compress&cs=tinysrgb",
    "https://static.pexels.com/photos/139575/pexels-photo-139575.jpeg"
  ];
  // you can change the image here
  $("body").css("background-image", "url(" + backgroundImage[6] + ")");
});

// scroll spy
$("body").scrollspy({ target: ".navbar", offset: 80 });
$("#navbar a").on("click", function(event) {
  if (this.hash !== "") {
    event.preventDefault();
    var hash = this.hash;
    $("html, body").animate(
      {
        scrollTop: $(hash).offset().top
      },
      800,
      function() {
        window.location.hash = hash;
      }
    );
  } // End if
});

// slow scroll
$(document).ready(function() {
  // Add smooth scrolling to all links
  $("a").on("click", function(event) {
    // Make sure this.hash has a value before overriding default behavior
    if (this.hash !== "") {
      // Prevent default anchor click behavior
      event.preventDefault();
      // Store hash
      var hash = this.hash;
      // Using jQuery's animate() method to add smooth page scroll
      // The optional number (800) specifies the number of milliseconds it takes to scroll to the specified area
      $("html, body").animate(
        {
          scrollTop: $(hash).offset().top
        },
        800,
        function() {
          // Add hash (#) to URL when done scrolling (default click behavior)
          window.location.hash = hash;
        }
      );
    } // End if
  });
});

              
            
!
999px

Console