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

              
                <!--
Ty Washburn
Personal Portfolio project assignment for freeCodeCamp 
HTML file
-->

 <head>
  <meta name="description" content="freeCodeCamp.org Personal Portfolio Assignment">
  <meta name="keywords" content="HTML,CSS,JavaScript">
  <meta name="author" content="Ty Washburn">
  
</head> 

<!-- Font Awesome import -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">

<div class="background" id="beginning">

<!-- Title and navigation bar --> 
<div class="top container-fluid">
  <!-- see if I can get all buttons into the same bar -->
  <div class="row">
    <div class="col-xs-4 title-bar">
      <a href="#beginning">
      <button class="btn title" id="title-button"> Ty Washburn
      </button>
      </a>
    </div>
    <div class="col-xs-4 nav-bar">
      <a href="#introduction"><button class="btn nav-buttons" id="intro-btn"> Introduction 
        </button></a>
       <a href="#portfolio"><button class="btn nav-buttons" id="port-btn"> Portfolio
         </button></a>
       <a href="#social"><button class="btn nav-buttons" id="con-btn"> Contact
         </button></a>
    </div>
  </div>
</div>

<div class="main">

<!-- Introduction --> 
<div class="sections" id="introduction">
  <h2>Ty Washburn</h2>
  <br>
  <p>Software Developer and Computer Science Major 
    <br>
    at The University of North Texas
  </p>
  
  <br>
  <p> Also studying to become fluent in both Spanish and Arabic
  </p>
  <p>
    <img src="https://github.com/tytycodes/images/blob/master/Flag_of_Spain.png?raw=true" class="flag" id="spain">      
    <img src="https://github.com/tytycodes/images/blob/master/Flag_of_Yemen.png?raw=true" class="flag" id="yemen">
  </p>
</div>

<!-- Portfolio --> 
<div class="sections" id="portfolio">
  <h2>Web Development Portfolio</h2>
  <div class="row">
    <div class="col-xs-6 slots" id="project-1">
      <h5> Tribute Page </h5>
      <div class="thumbnail-slot">
   <a href="https://codepen.io/tycodes/full/RpPeZK" target="_blank"><img src="https://github.com/tytycodes/images/blob/master/Tribute_page.png?raw=true" alt="tribute" class="thumbnail-image" ></a>
      </div>
    </div>
    <div class="col-xs-6 slots">
      <h5> Random Quote Machine </h5>
      <div class="thumbnail-slot" id="proj2">
        <a href="https://codepen.io/tycodes/full/QgPbmx" target="_blank"><img src="https://raw.githubusercontent.com/tytycodes/images/master/Random%20Quote%20Machine.png" alt="tribute" class="thumbnail-image" ></a>
      </div>
    </div>
    <div class="col-xs-6 slots">
      <h5> Weather App </h5>
      <div class="thumbnail-slot" id="proj3">
        <a href="https://codepen.io/tycodes/full/QrJgeb" target="_blank"><img src="https://raw.githubusercontent.com/tytycodes/images/master/Weather%20App.png" alt="tribute" class="thumbnail-image" ></a>
      </div>
    </div>
    <div class="col-xs-6 slots">
      <h5> Wikipedia Viewer </h5>
      <div class="thumbnail-slot" id="proj4">
        <a href="https://codepen.io/tycodes/full/PeLbpo" target="_blank"><img src="https://raw.githubusercontent.com/tytycodes/images/master/Wikipedia%20Viewer.png" alt="tribute" class="thumbnail-image" ></a>
      </div>
    </div>
    <div class="col-xs-6 slots">
      <h5> Survey Form </h5>
      <div class="thumbnail-slot" id="proj5">
        <a href="https://codepen.io/tycodes/full/qyXeJM" target="_blank"><img src="https://raw.githubusercontent.com/tytycodes/images/master/Survey%20Form.png" alt="tribute" class="thumbnail-image" ></a>
      </div>
    </div>
    <div class="col-xs-6 slots">
      <h5> Product Landing Page </h5>
      <div class="thumbnail-slot" id="proj6">
        <a href="https://codepen.io/tycodes/full/LJEjPR" target="_blank"><img src="https://raw.githubusercontent.com/tytycodes/images/master/Product%20Landing%20Page.png" alt="tribute" class="thumbnail-image" ></a>
      </div>
    </div>
  
  </div>

<!-- Social Media -->
<div class="sections" id="social"> 
  <h2>Social Media</h2>
  <div class="social-bar">
    <div class="row">
      <div class="col-xs-6">
        <a href="https://twitter.com/TyThaiTyeTie" target="_blank"><button class="btn social-btn fa fa-2x fa-twitter" id="twitter"></button></a>
        </div>
        
      <div class="col-xs-6">
        <a href="https://www.instagram.com/tylandia" target="_blank">
          <button class="btn social-btn fa fa-2x fa-instagram" id="instagram"></button>
        </a>
      </div>
        
      <div class="col-xs-6">
        <a href="https://github.com/tytycodes" target="_blank"><button class="btn social-btn fa fa-2x fa-github"></button></a>
      </div>
        
      </div>
    </div>
  </div>
  
  
</div>

  <div class="end-tag">
    <i>2017 - Page built by Ty Washburn for freeCodeCamp</i>
  </div>
  
</div>
              
            
!

CSS

              
                /*
Ty Washburn
Personal Portfolio project assignment for freeCodeCamp 
CSS file
*/

body{
  text-align: center;
  background-color: rgb(25, 25, 25);
  margin: auto;
}

.background{
  background-image: url("https://github.com/tytycodes/images/blob/master/city_background.jpg?raw=true");
  background-size: 100%;
  background-attachment: fixed;
}
 
.top{
  position: fixed;
  width: 100%;
  background-color: rgb(50, 50, 50);
}

.title-bar{
  padding: 10px;  
  padding-left: 5%;
}

.title{
  color: rgb(255, 255, 255);
  background-color: rgb(90, 90, 255);
}

.nav-bar{
  padding: 10px;
  padding-left: 50%;
}

.nav-buttons{
  color: rgb(90, 90, 255);
  background-color: rgb(255, 255, 255);
}

.btn:hover{
  background-color: rgba(255, 255, 255, 0.5);  
}

.main{
  background-color: rgba(255, 255, 255, 0.5);
  width: 1000px;
  margin: auto;
  padding: 30px;
  
}



.sections{
  width: 90%;
  padding: 30px;
  padding-top: 50px;
  margin: auto;
  color: White;
  background-color: rgba(50, 100, 250, 0.5);
}

#introduction{
  margin: auto;
  padding: 15%;
}

.flag{
  width: 30px;
}

.slots{
  padding-top: 10px;
  margin-left: 13px;
  
}

.thumbnail-slot{
  background-color: #FFFFFF;
  color: #555555;
  width: 250px;
  height: 135px;
  margin-top: 10px;
  margin-bottom: 50px;
}

.thumbnail-image{
  width: 100%;
  height: 100%;
}

.social-bar{
  padding-left: 22%;
}

.social-btn{
  margin: 30px;
  background-color: rgb(255, 255, 255);
}

#twitter{
  color: rgb(50, 100, 200);
}

#instagram{
  color: rgb(204, 0, 102);
}

.end-tag{
  color: white;
}
              
            
!

JS

              
                /*
Ty Washburn
Personal Portfolio project assignment for freeCodeCamp 
JS file
*/

/* 
After clicking once, the animation goes away. How do I make it animate every time?
*/
$(document).ready(function(){
  
$("#title-button").click(function(){
    $("#title-button").addClass("animated pulse");
  });  

$("#intro-btn").click(function(){
    $("#intro-btn").addClass("animated pulse");
  });  

$("#port-btn").click(function(){
    $("#port-btn").addClass("animated pulse");
  }); 

$("#con-btn").click(function(){
    $("#con-btn").addClass("animated pulse");
  }); 
  
});
 
              
            
!
999px

Console