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 id="page-top" data-spy="scroll" data-target=".navbar" data-offset="50">
  
  <!--header-->
  <header class="text-center container-fluid">
    
     <!--Navigation inside the header-->
  <nav class="navbar navbar-default navbar-fixed-top">
    <div class="container">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#mynav">
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a href="#page-top" class="navbar-brand">UU</a>
      </div>
          
          <div class="collapse navbar-collapse" id="mynav">
            <ul class="nav navbar-nav navbar-right">
              <li><a href="#about">About</a></li>
              <li><a href="#work">Work</a></li>
              <li><a href="#contact">Contact</a></li>
            </ul>
          </div>
    </div>
  </nav>
    <!--End of Navigation-->
      
    <h1>
      <span>Umerie Ugochukwu</span>   
    </h1>
    <p>Full-Stack Developer // Designer
  </header>
  
  <!--About Section-->  
  <section class="container-fluid">
    <h3 id="about" class="text-center">About Myself</h3>
    <hr class="bar"/>
    
    <div class="container text-center avatar-lockup">
      
      <div class="avatar">
        <img src="https://image.ibb.co/nGvzW9/headshot.jpg" alt="avatar" class="img-responsive center-block"/>
      </div>
      <div class="icon-music">
        <span class="fa fa-music"></span>
      </div>
      <div class="icon-code">
        <span class="fa fa-code"></span>
      </div>
      <div class="icon-mobile">
        <span class="fa fa-mobile"></span>
      </div>
      <div class="icon-pencil">
        <span class="fa fa-pencil"></span>
      </div>
    </div>
    
    <div class="container text-center content">
      <p>
        <strong>Ugochukwu specializes in making dreams come to life.</strong> Most of the things he does is full-stack web development with ASP.NET MVC framework; using HTML, CSS and javascript as front-end then C# as back-end. He is currently studying with FreeCodeCamp for a knowledge upgrade and to build projects for non-profits. He puts interest in digital interfaces and he is also a musician.
      </p>
    </div>
    
    <div class="container skill-wrap text-left">
      <div class="row">
        <div class="individual-skill col-sm-6">
          <div class="skill-label">Organization</div>
          <div class="skill-bar skill-70">
            <span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span>
</div>
        </div>
        <div class="individual-skill col-sm-6">
          <div class="skill-label">Learning</div>
          <div class="skill-bar skill-100">
            <span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span>
</div>
        </div>
      </div>
      
      <div class="row">
        <div class="individual-skill col-sm-6">
          <div class="skill-label">Communication</div>
          <div class="skill-bar skill-70">
            <span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span>
</div>
        </div>
        <div class="individual-skill col-sm-6">
          <div class="skill-label">Teaching</div>
          <div class="skill-bar skill-80">
            <span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span>
</div>
        </div>
      </div>
      
      <div class="row">
        <div class="individual-skill col-sm-6">
          <div class="skill-label">Programming</div>
          <div class="skill-bar skill-60">
            <span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span>
</div>
        </div>
      </div>
    </div>
  </section>
    
<!--Work Section-->
 <section class="container-fluid grey-bg work-section">
   <h3 id="work" class="text-center">Work</h3>
   <hr class="bar"/>
   
   <div class="container image-slider">
       <div class="container image-wrap">
         <div class="row">
           <div class="col-sm-4">
             <div class="thumbnail">
               <div class="image-unit" data-image="wunmmie-craft">
                 <img src="http://lsusmath.rickmabry.org/rmabry/knots/newfauxtrefoil-200x200.jpg" alt="craft" class="img-responsive" />
                <div class="image-overlay fadeIn">
                 <span class="fa fa-search-plus fa-3x"></span>
                </div>
             </div>
              <strong class="text-center">IAAJ Connect</strong>
              <p class="text-center text-muted">Website Design</p>
             </div>
            </div>

           <div class="col-sm-4">
             <div class="thumbnail">
               <div class="image-unit" data-image="placeholder">
                 <img src="http://placehold.it/500x500" alt="placeholder"  class="img-responsive"/>
                <div class="image-overlay fadeIn">
                 <span class="fa fa-search-plus fa-3x"></span>
               </div>
             </div>
              <strong class="text-center">Coming Soon</strong>
              <p class="text-center text-muted">Coming soon...</p>
             </div>
           </div>

           <div class="col-sm-4">
             <div class="thumbnail">
               <div class="image-unit" data-image="placeholder">
                 <img src="http://placehold.it/500x500" alt="placeholder"  class="img-responsive"/>
                 <div class="image-overlay fadeIn">
                 <span class="fa fa-search-plus fa-3x"></span>
                 </div>
               </div>
              <strong class="text-center">Coming Soon</strong>
              <p class="text-center text-muted">Coming soon...</p>
             </div>
           </div>
         </div>
       </div>

       <div class="container image-preview-wrap">
         <div class="image-preview-container">
           <div class="return-arrow">
             <span class="fa fa-chevron-circle-left "></span>
           </div>
           <h4 class="project-title text-center"></h4>
           <div class="load-image"></div>
         </div>
       </div>
   </div>
 </section>
    
<!-- Contact Section-->    
 <section class="container-fluid">
   <h3 id="contact" class="text-center">Around the Web</h3>
   <hr class="bar"/>
   
   <div class="container social-icon-wrap text-center">
     <a href="https://www.freecodecamp.com/ugumerie" target="_blank" class="fa fa-free-code-camp"></a>
     <a href="https://github.com/ugumerie" target="_blank"  class="fa fa-github"></a>
     <a href="https://web.facebook.com/umerie.ugochukwuchibuzor" target="_blank" class="fa fa-facebook"></a>
     <a href="https://www.linkedin.com/in/ugochukwu-umerie-685294133/" target="_blank" class="fa fa-linkedin"></a>
   </div>
 </section>
    
 <!--Footer Section-->
 <footer class="container-fluid bg-black">
   <div class="container footer-wrap text-center">
     <p>Copyright &copy; 2017</p>
   </div>
 </footer>
    
   <!--Image div Loads depending on which is clicked-->
    <!--Wunmmie Craft-->
    <div class="template-wrapper" id="template-wrapper">
   <div class="template" id="image-to-load" data-image="wunmmie-craft">
    <img src="https://img03.olx.com.ng/images_olxng/1000988788_6_644x461_2weeks-ankara-craft-training-.jpg" alt="craft" class="img-responsive center-block" />
      <p class="text-center"><a href="http://www.iaajconnect.com.ng" target="_blank">IAAJ Connect</a> is a website thatAt Iaaj Connect we take care of your needs, whether you’re a new company or an established firm. Be it Digital Advertising, Design and Branding, Web Development or Video Production, we have you covered. I am hoping on improving it using some more javascript and also adding some real-time stuff using Node.js as I further my learning in FreeCodeCamp.</p>
   </div>
   
    <!--Placeholder-->
   <div class="template" id="image-to-load" data-image="placeholder">
     <img src="http://placehold.it/640x540" alt="placeholder"  class="img-responsive center-block"/>
    <p class="text-center">Hoping to build more projects.</p>
   </div>
  </div>
</body>

              
            
!

CSS

              
                body{
  font-family:'Open Sans', sans-serif;
}
header{
 background: linear-gradient(to bottom, rgba(92, 77, 66, 0.8) 0%, rgba(92, 77, 66, 0.8) 100%), url('https://i.ibb.co/WGcdc72/bg-masthead.jpg');
  background-size: cover;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-position:center;
  height: 100vh;
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
header h1{
  text-transform: uppercase;
  margin-bottom:20px;
  font-weight: 700;
  font-size:65px;
  letter-spacing:0.05em;
}
header h1 span{
  border:9px solid white;
  padding:13px 9px;
  display:inline-block;
}
header p{
  text-transform:uppercase;
  line-height:1;
  font-weight:700;
}
@media screen and (min-width:768px){
  .navbar{
  background-color:transparent;
  border-bottom:0.5px solid #999;
  text-transform:uppercase;
  font-size:15px;
  line-height:1;
  color:#999;
  font-weight:700;
  padding:20px 0;
  transition-duration:0.5s;
 }
  .collapse-navbar{
   padding:0;
   background-color:#f8f8f8;
   transition-duration:0.5s;
  }
}
.navbar a.navbar-brand{
  color:#eb3812 !important;
  font-size:30px !important;
  font-weight:700;
  letter-spacing:0.05em;
}
.navbar-nav li a:hover, .navbar-nav li.active a{
  color:#eb3812 !important;
  background:none !important;
}
/*---About----*/
section h3{
  text-transform:uppercase;
  padding:100px 0 30px;
  font-size:14px;
  font-weight:700;
  margin-bottom:0;
}
.bar{
  width:60px;
  border-top:2px solid #eb3812;
  margin:0 auto 50px;
}
.avatar-lockup{
  max-width:800px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding-right:45px;
}

.avatar-lockup .avatar img{
 height:200px;
 width:200px;
 border-radius:50%;
}
.avatar-lockup .avatar{
  order:3;
}
.avatar-lockup .icon-pencil{
  order:1;
}
.avatar-lockup .icon-mobile{
  order:2;
}
.avatar-lockup .icon-music{
  order:4;
}
.avatar-lockup .icon-code{
  order:5;
}
div[class^="icon-"]{
  width:100px;
  height:100px;
  background-color:#e5eaee;
  border-radius:50%;
  color:#eb3812;
  font-size:48px;
  line-height:100px;
}
@media screen and (max-width:751px){
  .avatar-lockup{
    display: block;
    padding-right:15px
  }
  .avatar-lockup .avatar{
    display:block;
  }
  div[class^="icon-"]{
    display:inline-block;
  }
}
.content{
  max-width:620px;
  font-size:24px;
  margin:50px auto;
}
.skill-wrap{
  max-width:620px;
}
.skill-wrap .skill-bar span{
  height:17px;
  width:17px;
  display:inline-block;
  background-color:#eb3812;
  border-radius:50%;
  margin-right:5px;
}
@media screen and (max-width:767px){
  .skill-wrap{
    text-align:center;
  }
}
.skill-wrap .skill-bar span::after{
  content:'';
  background-color:white;
  height:13px;
  width:13px;
  border-radius:50%;
  display:block;
  margin:2px;
}
.skill-wrap .individual-skill{
  margin-bottom:20px;
}
.skill-wrap .skill-60 span:nth-child(n+7), .skill-wrap .skill-70 span:nth-child(n+8), .skill-wrap .skill-80 span:nth-child(n+9), .skill-wrap .skill-100 span:nth-child(n+11){
  background-color:#999;
}
/*--Work Section*/
.grey-bg{
  background-color:#e5eaee;
}
.thumbnail{
  padding:0 0 15px 0;
  border:none;
  border-radius:0;
}
.thumbnail img{
  width:100%;
  height:100%;
  margin-bottom:10px;
  
}
.image-unit{
  position:relative;
}
.image-overlay{
  height:100%;
  background-color:rgba(235, 56, 18, 0.68);
  position:absolute;
  top:0;
  right:0;
  left:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:white;
  opacity:0;
}
.image-unit:hover{
  cursor:pointer;
}
.image-unit:hover .image-overlay.fadeIn{
  -webkit-animation-name: fadeIn 850ms;
  animation: fadeIn 850ms;
  opacity:1;
}
@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeIn {
  from{
    opacity: 0;
  }

  to{
    opacity: 1;
  }
}
.thumbnail strong{
  font-size: 23px;
  display: block;
}
.thumbnail p{
  font-family:'Droid Serif', serif;
  font-style:italic;
  font-size:15px
}
.work-section{
  overflow-x:hidden;
}
.image-slider{
  width:200%;
  position:relative;
  left:0%; 
}
.image-wrap, .image-preview-wrap{
  width:50%;
  float:left;
}
.image-preview-wrap{
  display:none;
}
.image-preview-container{
  max-width:600px;
  margin:0 auto 50px;
  position:relative;
}
.return-arrow{
  position:absolute;
  opacity:0.5;
  left:-230px;
  top:-50px;
  color:#eb3812;
  font-size:80px;
}
.return-arrow:hover{
  cursor:pointer;
  opacity:1;
}
.image-preview-container h4{
  margin-bottom:15px;
  text-transform:uppercase;
  font-weight:700;
}
.image-preview-container img{
  max-width: 100%;
  margin-bottom: 25px;
}
.image-preview-container p{
  font-size:16px;
}
.image-preview-container a{
  text-decoration:none;
  color:#eb3812;
}
@media screen and (max-width:1078px){
  .return-arrow{
    left:0px;
    top: -30px;
    font-size:53px;
  }
  .image-preview-container h4{
    margin-left:40px;
  }
}
/*Contact Section*/
.social-icon-wrap{
  max-width:700px;
  margin:0 auto 80px;
  display:flex;
  align-items: center;
  justify-content:space-around;
}
.social-icon-wrap a{
  display:block;
  width:60px;
  height:60px;
  background-color:#eb3812;
  line-height:60px;
  color:white;
  border-radius:50%;
  font-size:30px;
  text-decoration:none;
  transition-duration:0.3s;
}
.social-icon-wrap a:hover{
  transform:scale(1.2);
}
.bg-black{
  background-color:black;
}
/*Footer Section*/
.footer-wrap{
  max-width:700px;
  color:white;
  font-size:15px;
  padding-top:50px;
  padding-bottom:50px;
  opacity:0.6;
}
/*Image Load pending on which is clicked - by default it's invisible*/
.template, .template-wrapper{
  display:none;
}
              
            
!

JS

              
                $(document).ready(function(){
 //smooth scroll
 smoothScroll(1000); 
  
  $("header h1").fitText(1, { minFontSize: '20px', maxFontSize: '65px' });
  
 //remove additional anchor tag - annoying
 //removeExtraAnchorTag();
  
 //collapse navbar on scroll 
 collapseNavbar();
  
 //Image slides on click
 imageSliderStuff();
  
});


//remove the extra/annoying anchor tag above the about link
function removeExtraAnchorTag(){
  $('.navbar-nav > li > a').first().remove();
}

//to collapse the mybar
function collapseNavbar(){ $(window).scroll(function(){
  if($('.navbar').offset().top > 70){
    $('.navbar-fixed-top').addClass('collapse-navbar');
  }else{
    $('.navbar-fixed-top').removeClass('collapse-navbar');
  }
});
}

//Smooth Scroll
function smoothScroll(duration) {
    $('a[href^="#"]').on('click', function (event) {
        var target = $($(this).attr('href'));

        if (target.length) {
            event.preventDefault();
            $('html, body').animate({
                scrollTop: target.offset().top
            }, duration);
        }
    });
}

//image slider and stuff function
function imageSliderStuff(){
  $('.image-unit, .return-arrow').on('click', function(){
    var $this = $(this);
   
    if($this.hasClass('image-unit')){
      var newTitle = $this.parent().find('strong').text();
      var imageClicked = $this.data('image');
      var template = $('#template-wrapper #image-to-load');
      var templates = new Array();
      template.each(function (){
        templates.push($(this).data('image'));
      });
      var currentTemplateIndex = $.inArray(imageClicked, templates);
      var loadImage = template.eq(currentTemplateIndex).removeClass('template').clone();  
      $('.image-slider').animate({
        'left': '-100%'
      }, 800);
      $('.image-preview-wrap').show();
      $('.project-title').text(newTitle);
      $('.load-image').html(loadImage);
      }else{
       $('.image-slider').animate({
        'left': '0%'
      }, 800);
      $('.image-preview-wrap').hide(1200); 
      }
  });
}


//Fit Text function
(function( $ ){

  $.fn.fitText = function( kompressor, options ) {

    // Setup options
    var compressor = kompressor || 1,
        settings = $.extend({
          'minFontSize' : Number.NEGATIVE_INFINITY,
          'maxFontSize' : Number.POSITIVE_INFINITY
        }, options);

    return this.each(function(){

      // Store the object
      var $this = $(this);

      // Resizer() resizes items based on the object width divided by the compressor * 10
      var resizer = function () {
        $this.css('font-size', Math.max(Math.min($this.width() / (compressor*10), parseFloat(settings.maxFontSize)), parseFloat(settings.minFontSize)));
      };

      // Call once to set.
      resizer();

      // Call on resize. Opera debounces their resize by default.
      $(window).on('resize.fittext orientationchange.fittext', resizer);

    });

  };

})( jQuery );
              
            
!
999px

Console