css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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-inverse navbar-fixed-top">
  <div class="container">
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="#heading"><i class="fa fa-arrow-up"></i></a>
    </div>
    <div id="navbar" class="collapse navbar-collapse">
      <ul class="nav navbar-nav navbar-right">

        <li><a href="#portfolio">portfolio</a></li>
        <li><a href="#about">about</a></li>
      </ul>
    </div>
  </div>
</nav>


<section id="heading">
  <div class="container">
    <h2><span id="icart">T. Lauren Cremeans</span> <br><br> full stack web developer</h2>
    <div class="row">
      <div class="col-sm-6">
        <button type="button" id="user" class="btn">
  <span class="glyphicon glyphicon-user" aria-hidden="true"></span></button>
      </div>
      <div class="col-sm-6">
        <button type="button" id="projects" class="btn">
  <span class="glyphicon glyphicon-th" aria-hidden="true"></span></button>
      </div>
    </div>
    <div class="row">
      <ul class="social text-center">
        <li>
          <a id="codepen" href="https://codepen.io/LaerTrech/" target="_blank"><i class="fa fa-codepen fa-2x"></i></a>
        </li>
        <li>
          <a id="linked-in" href='https://www.linkedin.com/in/icartusacrimea' target="_blank"><i class="fa fa-linkedin"></i></a>
        </li>
        <li>
          <a id="github" href="https://github.com/icartusacrimea" target="_blank"><i class="fa fa-github"></i></a>
        </li>
        <li>
          <a href="https://www.freecodecamp.com/icartusacrimea" target="_blank" id="free-code-camp"><i class="fa fa-fire"></i></a>
        </li>
      </ul>
    </div>
  </div>
</section>

<section id="portfolio">
  <h3>Projects</h3>
  <div id="skills">
    Skills: HTML5, CSS3, JavaScript, jQuery, Bootstrap, Responsive
  </div>
  <div ng-app="svgDemo" ng-controller="svgDemoCtrl">
    <div class="container">
      <div class="row">
        <div ng-repeat="w in works">
          <div class="clearfix" ng-if="$index % 2 == 0"></div>
          <div class="col-sm-6">
            <a href="{{w.demoUrl}}">
              <macbook-svg img-url="{{w.imageUrl}}"></macbook-svg>
            </a>
            <ipad-svg img-url="{{w.ipadUrl}}"></ipad-svg>
            <div id="figcaption"><strong>{{w.title}}</strong></br>{{w.description}}</br>
              <a href="{{w.githubUrl}}">Code</a></div>
          </div>
        </div>
      </div>
    </div>
  </div>
</section>

<section id="about">
  <div class="container">
    <div class="row text-center">
      <img src="https://dl.dropboxusercontent.com/s/1cmln05m6wnh85q/Untitled-1.jpg?dl=0" alt="portrait" id="portrait" />

    </div>
    <div class="row">
      <div class="col-md-6">
        <p>
          I moved to New England from Appalachia for training in representational, figurative oil painting. After I graduated with honors and won several scholarships in fine arts, the sky turned into a big, blue pancake and fell on my head. My thoughts were buzzing
          with images of the circuit boards I painted in my youth. I remembered the Geocities and Angelfire sites I built and the Live Journals I customized. So I ushered in a digital life, to be spent mostly alone and in front of screens. Perhaps not
          so different from painting.</p>
      </div>
      <div class="col-md-6">
        <p>I'm an aspiring full-stack web developer with interests in technology, music, art, literature, and film. I hope my lifestyle choices will lead to the synchronization of my two brain hemispheres or something comparably boast-worthy. <br>These are
          our cats with dragons:</p>
        <img src="https://dl.dropboxusercontent.com/s/fn6j51aoz9i05ug/DSC01690.JPG?dl=0" class="cat_image" alt="Damo" height="150px" width="150px"> <img src="https://dl.dropboxusercontent.com/s/3un4r5866el3mt0/DSC01685.JPG?dl=0" class="cat_image" alt="Duck"
          height="150px" width="150px">
      </div>
    </div>
  </div>
</section>
            
          
!
            
              * {
  margin: 0;
  padding: 0;
}
html,
body {
  margin: 0 auto;
  padding: 0;
  text-align: center;
  height: 100vh !important;
}
section#heading {
  padding: 0;
  margin: 0;
  height: 100vh !important;
}
body {
  color: white;
  background-color: #29B880;
  background-image: url("https://dl.dropboxusercontent.com/s/c5hcu2stw56510y/other.jpg?dl=0");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  height: 100vh !important;
  font-family: 'Inconsolata', monospace;
}
.navbar-inverse {
  background: transparent;
  padding-top: 13px;
  border: none;
}
.navbar-right {
  margin-right: 10%;
}
.navbar .nav > li > a {
  line-height: 19px;
  padding: 13px;
  font-size: 1.4em;
  text-decoration: none;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  color: white;
}

.navbar .nav >li > a:hover {
  color: #00ECFF;
}

div#navbar.navbar-collapse.collapse.in {
  background: black;
  border: none;
}

.navbar-inverse .navbar-brand {
  color: white;
  font-size: 1.4em;
}

.navbar-inverse .navbar-brand:hover {
  color: #00ECFF;
}

a.navbar-brand {
  padding-left: 40px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.icon-bar,
button.navbar-toggle {
  color: #00ECFF;
}
#icart {
  font-size: 1.6em;
}
h2 {
  font-size: 1.4em;
  margin: 0;
  padding-top: 150px;
}

ul.social {
  list-style: none;
  padding: 10px;
  margin-top: 30px;
}

.social li {
  display: inline;
  color: white;
  width: 34px;
  height: 34px;
}

#codepen {
  font-size: 1.2em;
  padding: 8px;
  transition: .3s;
  color: white;
}

#linked-in {
  font-size: 2.2em;
  padding: 8px;
  transition: .3s;
  color: white;
}

#free-code-camp,
#github {
  font-size: 2.3em;
  padding: 8px;
  transition: .3s;
  color: white;
}

#codepen:hover,
#free-code-camp:hover,
#github:hover,
#linked-in:hover {
  color: #00ECFF;
  transition: .3s;
}

.col-sm-6 {
  color: white;
  display: inline-block;
}

.btn {
  background: transparent;
  display: inline-block;
}

button:hover span {
  color: #00ECFF;
  transition: .4s;
}

.glyphicon {
  font-size: 2.6em;
}

#projects,
#user {
  width: auto;
  text-align: center;
  color: white;
  outline: none;
  border: none;
  padding: 0;
  margin: 0 auto;
  margin-top: 25px;
}

#user {
  float: right;
  padding-right: 10px;
}

#projects {
  float: left;
  padding-left: 10px;
}

section {
  padding-top: 55px;
  padding-bottom: 45px;
}
section#heading {
  height: 100%;
}
#portfolio {
  position: relative;
  z-index: 1;
}

#portfolio:before {
  background-image: url("http://www.publicdomainpictures.net/pictures/50000/velka/dark-olive-green-gradient-frame.jpg");
  opacity: 1;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

h3 {
  margin: 0 auto;
  padding-top: 10px;
  padding-bottom: 10px;
  font-size: 2.4em;
  opacity: 1.0;
}

#skills {
  margin: 0 auto;
  padding-bottom: 20px;
  font-size: 1em;
}

.Laptop:hover {
  stroke: #00ECFF;
  stroke-width: 4;
}

rect#screen:hover {
  fill: green;
}

#figcaption {
  padding-top: 0px;
  padding-bottom: 20px;
  margin-top: 0;
  font-size: 1.2em;
  text-align: center;
}

#figcaption a {
  color: #00ECFF;
}

#about {
  position: relative;
  z-index: 1;
  background: black;
  font-size: 1.2em;
}

#about:before {
  background-image: url("http://www.publicdomainpictures.net/pictures/50000/velka/plum-gradient-frame.jpg");
  opacity: 1;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

#portrait {
  height: 220px;
  width: auto;
  border-radius: 50%;
  margin-bottom: 15px;
  border: 2px solid #00ECFF;
  padding: 4px;
}

.cat_image {
  height: 150px;
  width: 150px;
  padding: 4px;
  margin: 5px;
  float: center;
  border: 2px solid #00ECFF;
  border-radius: 25px;
}

@media (max-device-width: 800px) {
  body, html {
    overflow: scroll !important;
  }
  #icart {
    font-size: 1.4em;
  }
  h2 {
    padding-top: 100px;
    font-size: 1.3em;
  }
}

            
          
!
            
              /* jshint esversion:6 */
/* globals angular */
$(document).ready(function() {
  $('.navbar').hide();
  $('h2').hide().fadeIn(4000);
  $('.social, .row').hide().fadeIn(5000);
  
  $('#projects').click(function(){
    $('html, body').animate({
        scrollTop: $("#portfolio").offset().top
    }, 1000);
    $('.navbar').show();
    $('.navbar-brand').show();
    location.href = "#portfolio";
  });
  
  $('#user').click(function(){
    $('html, body').animate({
        scrollTop: $("#about").offset().top
    }, 1000);
    $('.navbar').show();
    $('.navbar-brand').show();
    location.href = "#about";
  });
  
  $('.navbar-brand').click(function(){
    $('html, body').animate({
        scrollTop: $("#heading").offset().top
    }, 1000);
    $('.navbar').hide();
    $('.navbar-brand').hide();
    location.href = "#heading";
  });
  
  
});

/* Credit to @belcurv on fCC Forum for Angular/SVG portfolio images solution
https://forum.freecodecamp.com/t/images-of-laptop-mobile-screens-to-represent-responsiveness/73525/12 */

(function () {
    'use strict';

    angular
        .module('svgDemo', [])
    
        .controller('svgDemoCtrl', ['$scope', function ($scope) {
            
            $scope.hello = 'world';
            
            $scope.works = [
                {
                    imageUrl: "https://dl.dropboxusercontent.com/s/s8wltlpyxi514rg/Simon.jpg?dl=0",
                    ipadUrl: "https://dl.dropboxusercontent.com/s/s8wltlpyxi514rg/Simon.jpg?dl=0",
                    title: "Simon",
                    description: "Classic 1980s game",
                    githubUrl: "https://codepen.io/LaerTrech/pen/GNGaJy",
                    demoUrl: "https://codepen.io/LaerTrech/full/GNGaJy"
                },
                {
                    imageUrl: "https://dl.dropboxusercontent.com/s/wl1d95225kz36jp/tictactoe.png?dl=0",
                    ipadUrl: "https://dl.dropboxusercontent.com/s/rzkych1mskz2oa9/tictactoe_ipad.jpg?dl=0",
                    title: "Tic-tac-toe",
                    description: "Choose X or O, play against another human or AI",
                    githubUrl: "https://codepen.io/LaerTrech/pen/XNNxEE",
                    demoUrl: "https://codepen.io/LaerTrech/full/XNNxEE"
                },
                {
                    imageUrl: "https://dl.dropboxusercontent.com/s/bian066ty73s8b9/Weather.jpg?dl=0",
                    ipadUrl: "https://dl.dropboxusercontent.com/s/bian066ty73s8b9/Weather.jpg?dl=0",
                    title: "Purple Rain Every Day",
                    description: "Prince-themed weather app with Dark Sky API, background image changes depending on conditions",
                    githubUrl: "https://codepen.io/LaerTrech/pen/RRPxaZ",
                    demoUrl: "https://codepen.io/LaerTrech/full/RRPxaZ"
                },
                {
                    imageUrl: "https://dl.dropboxusercontent.com/s/6r419ilucrgy9ta/twitch.png?dl=0",
                    ipadUrl: "https://dl.dropboxusercontent.com/s/6r419ilucrgy9ta/twitch.png?dl=0",
                    title: "freeCodeCamp on Twitch",
                    description: "Uses Twitch.tv JSON API to display fCC and other users' stream activity",
                    githubUrl: "https://codepen.io/LaerTrech/pen/yJgYxB",
                    demoUrl: "https://codepen.io/LaerTrech/full/yJgYxB"
                },
                {
                    imageUrl: "https://dl.dropboxusercontent.com/s/osdi6rrawnr9gdh/Wiki.jpg?dl=0",
                    ipadUrl: "https://dl.dropboxusercontent.com/s/osdi6rrawnr9gdh/Wiki.jpg?dl=0",
                    title: "Wikipedia Viewer",
                    description: "Uses Wikipedia's API to allow user to search for articles or click button to display random article",
                    githubUrl: "https://codepen.io/LaerTrech/pen/zBrWzW",
                    demoUrl: "https://codepen.io/LaerTrech/full/zBrWzW"
                },
                {
                    imageUrl: "https://dl.dropboxusercontent.com/s/8yqttkr5os6ansb/QuoteGen.jpg?dl=0",
                    ipadUrl: "https://dl.dropboxusercontent.com/s/8yqttkr5os6ansb/QuoteGen.jpg?dl=0",
                    title: "Random Quote Generator",
                    description: "Click button to generate a random quote from a list of quotes I compiled",
                    githubUrl: "https://codepen.io/LaerTrech/full/YWKbvw",
                    demoUrl: "https://codepen.io/LaerTrech/pen/YWKbvw"
                },
                {
                    imageUrl: "https://dl.dropboxusercontent.com/s/gyv3dcm7p81ribv/Pomodoro.jpg?dl=0",
                    ipadUrl: "https://dl.dropboxusercontent.com/s/gyv3dcm7p81ribv/Pomodoro.jpg?dl=0",
                    title: "Pomodoro Clock",
                    description: "Work and break session timer",
                    githubUrl: "https://codepen.io/LaerTrech/pen/xEawZR",
                    demoUrl: "https://codepen.io/LaerTrech/full/xEawZR"
                },
                {
                    imageUrl: "https://dl.dropboxusercontent.com/s/wso8rkb414xe0ef/Calc.jpg?dl=0",
                    ipadUrl: "https://dl.dropboxusercontent.com/s/f86rvln6s908o56/calc_ipad.jpg?dl=0",
                    title: "JavaScript Calculator",
                    description: "",
                    githubUrl: "https://codepen.io/LaerTrech/pen/gwZAVQ",
                    demoUrl: "https://codepen.io/LaerTrech/full/gwZAVQ"
                },
                {
                    imageUrl: "https://dl.dropboxusercontent.com/s/mw119h5ttkldwjm/focust.png?dl=0",
                    ipadUrl: "https://dl.dropboxusercontent.com/s/1oy5zq10i5nggeu/focustipad.png?dl=0",
                    title: "Focust",
                    description: "Productivity app with to-do and shopping lists and work and break session timer; I also designed logo",
                    githubUrl: "",
                    demoUrl: ""
                }
            ];
            
        }])

        .directive('macbookSvg', [function () {

            var template = [
                '<svg width="71%" viewBox="0 0 700 400" xmlns="http://www.w3.org/2000/svg">',
                 '<g class="Laptop" stroke-width="1" fill="none" fill-rule="evenodd" transform="translate(1.000000, 1.000000)" stroke="#8492A5">',
                    '<path d="M594,0 L98,0 C84.50415,0 73,11.0738184 73,24.7901127 L73,351.027995 L619,351.027985 L619,24.7901127 C618.999971,11.0728209 607.537479,0 594,0 Z" id="bezel" stroke-width="2" fill="#FEFEFE"></path>',
                    '<circle id="webcam" stroke-width="2" cx="347" cy="19" r="4"></circle>',
                    '<g id="bottom" transform="translate(0.000000, 351.000000)">',
                    '<path d="M640.812,31.01 L51.288,31.01 C20.641,31.01 0,20.494 0,16.022 L0,2.428 C0,1.084 1.335,0 2.995,0 L689.104,0 C690.766,0 692.103,1.084 692.103,2.428 L692.103,16.557 C692.096,20.092 676.112,31.01 640.812,31.01 Z" id="Shape" stroke-width="2" fill="#FDFDFD"></path>',
                    '<path d="M0.5,14.5 L690.242676,14.5" id="Line" stroke-linecap="square"></path>',
                    '</g>',
                    '<rect id="screen" fill="#8492A5" x="95" y="39" width="501.073853" height="292.009"></rect>',
                    '<image xlink:href="" ng-href="{{ imgUrl }}" x="96" y="40" width="499.073853" height="290.009" preserveAspectRatio="xMidYMid slice"></image>',
                    '<path d="M421,352 L421,355.087 C421,357.288 416.666719,357.952714 413.386719,357.952714 L278.815286,357.952714 C275.364286,357.952714 271,357.289 271,355.087 L271,352" id="touchpad" fill="#FFFFFF"></path>',
                    '</g>',
                    '</svg>'].join('');

            return {
                restrict: 'E',
                scope: {
                    imgUrl: '@'
                },
                template: template
            };

          }])

        .directive('ipadSvg', [function () {

            var template = [
                '<svg width="25%" viewBox="0 0 300 400" xmlns="http://www.w3.org/2000/svg">',
                '<g class="IPAD" stroke-width="1" fill="none" fill-rule="evenodd" transform="translate(20.000000, 55.000000)" stroke="#7E89A3">',
                '<path d="M202.986,317 L12.097,317 C5.462,317 0.083,311.623 0.083,304.99 L0.083,12.093 C0.083,5.46 5.461,0.083 12.097,0.083 L202.986,0.083 C209.622,0.083 215,5.46 215,12.093 L215,304.99 C215,311.623 209.622,317 202.986,317 Z" id="bezel" stroke-width="2" fill="#FDFDFD"></path>',
                '<path d="M202.986,317 L12.097,317 C5.462,317 0.083,311.623 0.083,304.99 L0.083,12.093 C0.083,5.46 5.461,0.083 12.097,0.083 L202.986,0.083 C209.622,0.083 215,5.46 215,12.093 L215,304.99 C215,311.623 209.622,317 202.986,317 Z" id="bezel-2" stroke-width="2" fill="#FDFDFD"></path>',
                '<rect id="screen" fill="#8492A5" x="17" y="32" width="181.999" height="252.917"></rect>',
                '<image xlink:href="" ng-href="{{ imgUrl }}" x="18" y="33" width="180" height="250.917" preserveAspectRatio="xMidYMid slice"></image>',
                '<circle id="lock" cx="108.021" cy="300.021" r="8.021"></circle>',
                '<circle id="camera" cx="106.99" cy="16.99" r="2.99"></circle>',
                '</g>',
                '</svg>'].join('');

            return {
                restrict: 'E',
                scope: {
                    imgUrl: '@'
                },
                template: template
            };
        }]);

})();
            
          
!
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.
Loading ..................

Console