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. 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

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

              
                <doctype HTML>
  <html lang="en">
    <html>
        
        <!--Start Script -->
        <script>
            $(document).ready(function () {
                $('#thumb').delay(300).css({
                    'width': '960px',
                    'height': '480px'
              });
         });
        </script> 
        <!-- End Script -->
        
        
      <!-- Start head -->
      <head>
      <meta charset="UTF=8">
      <title>Erick Shaffer</title>
      <link rel="stylesheet" href="portfolio_style.css">
      </head>
      <!-- End Head -->
      
      <body>
        <!-- Nav Start -->
        <ul class= "nav">
            
            <!-- Logo Start -->
            <div class="logo">
                <a href="#">Erick Shaffer</a>
            </div>  
            <!-- Logo End -->
            
          <li><a href="#home">Home</a></li>
          <li><a href="#socialmedia">Social Media</a></li>
          <li><a href="#projects">Projects</a></li>
          <li><a href="#about-me">About Me</a></li>
        </ul>
        <!-- Nav End -- >

          <!-- Banner Start -->
          <div class="banner" id="home">
            <img class="banner-image" src="http://www.iq2oz.com/archive/assets/Uploads/IQ2-HOME-BANNER-NATURE4.jpg">
          </div>
          <!-- Banner End -->
          
          <!-- Start Heading-->
          <div class="heading" id="socialmedia">Social Media</div>
             <div align = "center" class="social_media">
                 
                <div class = "media1">
                    <h2>GitHub</h2>
                        <a href="https://github.com/eshaffer321"> <img class ="image1" src="https://image.flaticon.com/icons/svg/25/25231.svg" ></a>
                            <p>Check out some of my public repositories and open source contributions</p>
                 </div>
                 
                <div class = "media1">
                    <h2>FreeCodeCamp</h2>
                        <a href="https://www.freecodecamp.com/eshaffer321"> <img class ="image2" src="https://cdn.rawgit.com/Deftwun/e3756a8b518cbb354425/raw/6584db8babd6cbc4ecb35ed36f0d184a506b979e/free-code-camp-logo.svg" ></a>
                            <p>My profile on FreeCodeCamp where I have been learning front-end development</p>
                 </div>
                 
                 
                 
                    <div class = "media1">
                       <h2>StackOverFlow</h2>
                        <a href="http://stackoverflow.com/users/6032719/erick-shaffer"> <img class ="image1" src="http://chadev.com/assets/images/icons/profile-icons/stackoverflow-icon.svg" ></a>
                            <p>Take a look at my StackOverFlow profile.</p>
                 </div>
                 
                 
                 
                  <div class = "media1">
                       <h2>Codepen.io</h2>
                        <a href="https://codepen.io/eshaffer321/"> <img class ="image1" src="https://blog.codepen.io/wp-content/uploads/2012/06/Button-Black-Large.png" ></a>
                            <p>Take a look at my Codepen.io profile.</p>
                 </div>
                 
                 
                                   <div class = "media1">
                       <h2>Facebook</h2>
                        <a href="https://www.facebook.com/erick.shaffer.3"> <img class ="image1" src="http://img.freepik.com/free-icon/facebook-logo-in-circular-shape_318-60407.jpg?size=338&ext=jpg" ></a>
                            <p>Visit me on Facebook!.</p>
                 </div>
                    
                 
                 
          </div>
          <!-- End Heading -->
          
    
          <!-- Being second banner -->
         
          <div class="banner2">
              <img class="banner-image2" src="https://viewbug_com.s3.amazonaws.com/media/images/contests/contest8010_banner.jpg"/>
          </div>
          <!-- End Second Banner -->
         
            
            <div class="heading">Projects</div>
             <div  class="project-container" align="center">
               
                 
                 
                 
               <div class="project-element" id="projects">
                   <h2>First Website</h2>
                   <a href="https://codepen.io/eshaffer321/pen/NdOWvd"> <img src="https://i.imgur.com/3wNN9eF.png" class="project1_photo hvr-grow">
                   </a>
                   <p>The very first website I ever created. Used basic html.</p>
                 </div>
                 
                <div class="project-element">
                   <h2>Coming Soon</h2>
                   <a href="#"> <img src="http://www.100escales.com/wp-content/uploads/2014/04/placeholder3.png" class="project1_photo">
                   </a>
                   <p>Project coming soon.</p>
                 </div>
                 
                 <div class="project-element">
                   <h2>Coming Soon</h2>
                   <a href="#"> <img src="http://www.100escales.com/wp-content/uploads/2014/04/placeholder3.png" class="project1_photo">
                   </a>
                   <p>Project coming soon.</p>
                 </div>
                 
                 
                 <div class="project-element">
                   <h2>Coming Soon</h2>
                   <a href="#"> <img src="http://www.100escales.com/wp-content/uploads/2014/04/placeholder3.png" class="project1_photo">
                   </a>
                   <p>Project coming soon.</p>
                 </div>

              </div>
          
           <!-- Being third banner -->
         
          <div class="banner2">
              <img class="banner-image2" src="https://static.tumblr.com/cmy8cfp/81Emef3vr/dsc04082-001.jpg"/>
          </div>
          <!-- End third Banner -->
          
          
          <div class="heading" align="center">About Me</div>
          
          <div id="about-me">
     
          <img src="http://www.100escales.com/wp-content/uploads/2014/04/placeholder3.png" alt="Smiley face" width="180" height="180" class="myphoto" > 
              
          <p>My name is Erick Shaffer and I'm currently 22 years old. I am a college student current studying Computer Science at Evergreen Valley College. I have a passion for self-development and am always trying to improve myself. Some of my other hobbies include working-out, hiking, piano, and board games.</p>
          
          
         </div>
          
    
          
      </body>
      
      
      <html>
              
            
!

CSS

              
                body{
  margin: 0;
  padding: 0;
  font-family: Helvetica;
}

.heading{
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
    font-size: 24px;
    color: silver;
    text-emphasis: bold;
}


/*--Start Nav--*/
.nav{
  background-color: #000000;
  color: #FFFFFFF;
  list-style: none;
  text-align: right;
  padding-top: 10px;
  padding-bottom: 10px;
  width: 100%;
}

.nav > li {
  display: inline-block;
  padding-right: 25px;
  font-size: 12px;
  text-align:  right;
}

.nav > li > a {
  text-decoration: none;
  color: white;
}

.nav > li > a:hover{
  color: silver;
}
/*--End Nav--*/





/*--Start Logo--*/
.logo{
    text-decoration: none;
    color: aqua;
    color: aqua;
    float: left;
    padding-left: 10px;
    font-size: 15px;
    font-weight: bold;
}

.logo > a{
    text-decoration: none;
    color: aqua;
}
/*--End Logo--*/



/*--Start Banners--*/
.banner > .banner-image{
    margin-top: -16px;
    width: 100%;
    display: block;
    
}

.banner2 > .banner-image2 {
    width: 100%;
    padding-top: 40px;
}
/*--End Banners--*/





/*--Start Social Media--*/

.media1{
    width: 200px;
    border: 1px,solid,black;
    margin: 20px, 10px;
    padding: 0, 5px;
    float: left;
    padding-left: 10px;
    padding-right: 10px;
  
}

.media1 > p {
    
    font-size: 14px;
    color: black;
    max-width: 150px;
  
}

.social_media{
    width: 1100px;
    margin:auto;  
}

.image1 {
    
   max-width:100px;
   max-height: 100px;
   padding-top: 10px
}

.image2{
    width: 125px;
    padding-top: 20px;
}


h2{
    font-size: 16px;
    font-weight: bold;
    background-color: silver;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 5px;
    padding-right: 5px;
    
}

.image1:hover{
    opacity: 0.3;
}

.image2:hover{
    opacity: 0.3;
}
/*--End Social Media--*/




/*--Begin Projects List--*/
.project-container{
    margin:auto;
    width: 1000px;
}
.project-element{
    width: 200px;
    border: 50px,solid,black;
    margin: 20px, 10px;
    padding: 0, 5px;
    float: left;
    padding-left: 10px;
    padding-right: 10px;
}

.project-container > p {
   max-width: 100px
   color: black;
   font-size: 15px;
   
}

.project1_photo{
    max-width: 190px;
    height: 180px;
}

.project1_photo:hover{
    opacity: 0.3;
}


/*--End Projects List--*/


/*-- Begin About Me --*/
.portrait_photo{
    max-width: 300px;
    height: 450px;
    padding-left: 120px;

}


#about-me > p{
    font-size: 15px;
    max-width: 500px;
    
}

.about-me > img{

    padding: 20px 20px;
    display: block;
 
}

#about-me{
    width: 900px;
    margin-left: auto;
    margin-right: auto;
}


/*--End About me--*/

              
            
!

JS

              
                
              
            
!
999px

Console