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.

            
              
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans" rel="stylesheet" type="text/css"> 
<h1 class="text-center bigger">Leo Portfolio</h1>

<div class="row">
  <div style="text-align:center;" class="buttonnav">
    <a href="#about">
     <button class="btn-lg btn-default" id="toggle">
       <h3>About</h3>
  </button>
    </a>
 <a href="#projects">
    <button class="btn-lg btn-default">
    <h3>Projects</h3>
  </button>
    </a>
    <a href="#contact">
  <button class="btn-lg btn-default">
    <h3>Contact</h3>
  </button>
    </a>
    <a href="#social">
  <button class="btn-lg btn-default" >
    <h3 > Social</h3>
  </button>
    </a>
  </div>
</div>
<div class="row quote">
  <blockquote class="text-left col-xs-offset-3"> "Simplicity is the soul of efficiency."<br><br>Austin Freeman</blockquote></div>
<div class="col-xs-12">
<div class="row">
  <blockquote class="col-xs-offset-2 quote"> "The only secret to magic is I am willing to work harder on it than you think it's worth."<br><br>Penn Jillette</blockquote></div>
  <div class="row quote">
  <blockquote class="text-left col-xs-offset-3"> "Make it as simple as possible, but not simpler."<br><br>Albert Einstein</blockquote></div>
  <hr>
<h2 style="text-align:center;" id="about">About</h2>
<div class="row">
  <img class="img-circle img-responsive col-xs-offset-2 col-xs-2" src="https://i1.wp.com/liberty.me/wp-content/uploads/avatars/5556/c37cb8a094eb8f5e43fe0a967946d52c-bpfull.jpg" alt="Leo in a gray suit">
<p class="text-left col-xs-5 col-xs-offset2" id="speech">My name is Leo Hew and I am a software engineer.<br>It is my belief that passionate fiddlers make the best engineers.</p>
</div>
  <hr>
<h2 style="text-align:center;" id="projects">Projects</h2>
  <p style="text-align:center;"><em>Click projects to expand</em></p>
<div class="row">
  <div class="col-xs-4 text-center">
  <img class="img-responsive img-rounded projimg center-block" src="https://upload.wikimedia.org/wikipedia/commons/9/95/Tracy_Caldwell_Dyson_in_Cupola_ISS.jpg"alt="Tracy Caldwell looks over the beautiful blue Earth from the Cupola module">
   <a href="#" target="_blank">
     <button class="btn-lg btn-default"><h3>Project 1</h3></button></a>
     </div>
   <div class="col-xs-4 text-center"> 
    <img class="img-responsive img-rounded projimg center-block" src="http://petapixel.com/assets/uploads/2013/06/external.jpg"alt="Outside view of the Cupola">
     <a href="#" target="_blank">
       <button class="btn-lg btn-default"><h3>Project 2</h3></button></a>
   </div>  
  <div class="col-xs-4 text-center"> 
    <img class="img-responsive img-rounded projimg center-block" src="https://p931z2nb6eo1jytzj2ufrzyoiz-wpengine.netdna-ssl.com/science/wp-content/uploads/sites/35/2016/03/Scott-kelly.jpg"alt="Scott Kelly with the beauty of home illuminating his backdrop">
    <a href="#" target="_blank">
      <button class="btn-lg btn-default"><h3>Project 3</h3></button></a>
  </div>
</div>
  <hr>
<h2 style="text-align:center;" id="contact">Contact</h2>
 <form action="mailto:#" method="post" enctype="text/plain">
   <div class="form-group">

 <div class="row">
   <div class ="col-xs-8 col-xs-offset-2">
 <label for="emailMe"> Your Email</label>
     <input class="form-control" id="emailMe" type="email" placeholder="Type your email address here"> </div>  <div class="col-xs-1"> <button type="submit" class="btn btn-default"><h3><span class="glyphicon glyphicon-send"></span>Send</h3></button>
     </div></div>
<div class="col-xs-10 col-xs-offset-1">
       <label for="messageMe"> Your Message</label>       
<textarea placeholder="Type your message to me here" class="form-control" rows="6" id="messageMe"></textarea>
     </div>
   </div>
   </div>
  </form>
<hr>
  <div class="row"></div>

<h2 style="text-align:center;" id="social">Social</h2>
   <div class="row">
     <div class="col-xs-6 col-xs-offset-3 linksbox">
       <a href="https://github.com/leo42hew" target="_blank">
     <img class="img-responsive col-xs-2 col-xs-offset-1" src="http://icons.iconarchive.com/icons/limav/flat-gradient-social/512/Github-icon.png" alt="Link to github">
       </a>
       <a href="https://www.freecodecamp.com/leo42hew" target="_blank">
        <img class="img-responsive col-xs-2 social img-circle" id="fcc" src="https://image.freepik.com/free-icon/camping-tent_318-54053.jpg" alt="link to free Code Camp">
       </a>
       <a href="https://codepen.io/leo42hew/" target="_blank">
     <img class="img-responsive col-xs-2 social" src="https://cdn1.iconfinder.com/data/icons/simple-icons/256/codepen-256-black.png" alt="Link to CodePen">
       </a>
       <a href="https://www.google.co.nz/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8&safe=active&ssui=on#q=i%20don%27t%20have%20one&safe=active&ssui=on" target="_blank">
         <img class="img-responsive col-xs-2 social"  src="http://image.flaticon.com/icons/svg/34/34227.svg" alt="link to LinkedIn">
       </a>
       <a href="https://medium.com/" target="_blank">
              <img class="img-responsive col-xs-2" src="https://assets.ifttt.com/images/channels/1259075256/icons/large.png" alt="link to Medium Daily Digest">
       </a>
  </div>
     </div>
<hr>
<div class="row">
  <div class= "col-xs-4 col-xs-offset-4 text-center text-muted">
    <hr>
    <p>Made with love by Leo<br>With bootstrap and jQuery</p>
  </div>
</div>
    

  

            
          
!
            
              body{
  background-image: url(https://jesscliftonphotography.files.wordpress.com/2014/01/fluffy-white-clouds.jpg);
  margin-top: 7%;
  font-family: 'Josefin Sans', sans-serif;
}
.buttonnav{
  margin-top: 10px;
}
.quote{
   font-weight: 900;
  padding-left: 10px;
   padding-right: 10px;
  padding-top: 20px;
  
}
p{
   font-weight: 900;
  margin-top: 10px;
  border: 1.5px solid #d5dde0;
    border-radius: 30px;
  font-size: 19px;
}
.projimg{
  height: 140px;
  overflow: hidden;
}
.social{
  filter: invert(100%);
 
}
.linksbox{
  margin-top: 10px;
  border: 1.5px solid #d5dde0;
    border-radius: 8px;
   background-color:#ba5151;
}
button{
  height:80px;
}
#speech{
  background-color:white;
}
blockquote{
  font-size: 30px;
}
            
          
!
            
              $(document).ready(function(){
$("h2").css("font-size", "60px")
$("button").css("background-color", "#ba5151");
$("button").css("color", "white");
$(".bigger").css("font-size", "100px");
  });

$(".projimg").click(function () {
    if ($(".projimg").css("height") > "200px" ){
        $(".projimg").animate({
            height: "140px"
        });
   
    } else {
        $(".projimg").animate({
            height: "+=70px",
        
        });
    }
});
$("#toggle").click(function () {
   $(".btn-lg").animate({
                color: "green",
    backgroundColor: "rgb( 20, 20, 20 )"
        });
});


            
          
!
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