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.

            
              <!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8">
  <title>Michael Nicol Portfoilo</title>
  <link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
  <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.2/css/all.css" integrity="sha384-/rXc/GQVaYpyDdyxK+ecHPVYJSN9bmVFBvjA/9eOB+pb3F2w2N6fc5qB9Ew5yIns" crossorigin="anonymous">
</head>
   <div class="nav">
     <button id="drop-button"><i id="drop-act" class="fas fa-bars"></i></button>
     <div id="drop-content">
      <a href="#about" class="nav-child">Skills</a>
      <a href="#cert" class="nav-child">Certifications</a>
      <a href="#web"class="nav-child">Website</a>
      <a href="#projects" class="nav-child">Projects</a>
      <a href="#contact" class="nav-child">Contact</a>   
    </div>
  </div>
  <body>  
<div class="main-banner">
  <div class="banner-overlay">
    <h2 class="name">Michael Nicol</h2>
    <h3 class="job"> Front End Devoloper</h3>
    <hr class="banner-hr">
    <div class="banner-icons-wrapper">
      <a href="#"><i class="fab fa-linkedin"></i></a>
      <a target="_blank" href="https://www.freecodecamp.org/forum/u/michaelnicol/activity"><i class="fab fa-free-code-camp"></i></a>
      <a target="_blank" href="https://github.com/michaelnicol"><i class="fab fa-github"></i></a>
      <a target="_blank" href="#"><i class="fab fa-youtube"></i></a>
      <a target="_blank" href="https://codepen.io/Mike-was-here123/"><i class="fab fa-codepen"></i></a>
    </div>
  </div>
</div>
<section id="about">
  <h2 class="">Why Me?</h2>
  <hr>
  <div class="about-wrapper">
    <div class="about-card">
      <img src="https://static.thenounproject.com/png/154242-200.png" />
      <h3>Skills</h3>
      <div class="bar-wrapper">
        <i class="fab fa-html5" style="color: #E64E2C;"></i>
        <div class="hundred-bar">
          <div class="bar html-bar">
            <p>90%</p>
          </div>
        </div>
      </div>
      <div class="bar-wrapper">
        <i class="fab fa-css3-alt" style="color: #2E609E;"></i>
        <div class="hundred-bar">
          <div class="bar css-bar">
            <p>85%</p>
          </div>
        </div>
      </div>
      <div class="bar-wrapper">
        <i class="fab fa-js" style="color: #D7B942;"></i>
        <div class="hundred-bar">
          <div class="bar js-bar">
            <p>65%</p>
          </div>
        </div>
      </div>
    </div>
    <div class="about-card">
      <img src="https://image.ibb.co/dLKiKq/5847f91ccef1014c0b5e48b8.png" />
      <h3>freeCodeCamp</h3>
      <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum maximus justo in velit tristique.</p>
      <a href="https://www.freecodecamp.org/" target="_blank" class="about-vist">Start Now</a>
    </div>
    <div class="about-card">
      <img src="https://d1qb2nb5cznatu.cloudfront.net/startups/i/57028-75249c08760cc9b8331013724066c538-medium_jpg.jpg?buster=1407971510" />
      <h3>Codecademy</h3>
      <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum maximus justo in velit tristique.</p>
      <a href="https://www.codecademy.com/" target="_blank" class="about-vist">Start Now</a>
    </div>
  </div>
  <div class="about-goal-container">
    <h2>- Goals -</h2>
      <p class="about-goal">
       Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum maximus justo in velit tristique, id venenatis felis blandit. Pellentesque tellus nisl, faucibus nec volutpat non, ornare at magna. Donec faucibus gravida pulvinar.
      </p>
  </div>
</section>
<section class="cert-container" id="cert">
  <h2>Certifications</h2>
  <hr>
  <div class="cert-wrapper">
  <img class="cert-card" src="https://ugcorigin.s-microsoft.com/100/1b7b09ec-fd51-406f-b9bb-7679c203e0be/200/v1/image.jpg">
    </img>
<img class="cert-card" src="https://ugcorigin.s-microsoft.com/100/1b7b09ec-fd51-406f-b9bb-7679c203e0be/200/v1/image.jpg">
  <img class="cert-card" src="https://ugcorigin.s-microsoft.com/100/1b7b09ec-fd51-406f-b9bb-7679c203e0be/200/v1/image.jpg">
  <img class="cert-card" src="https://ugcorigin.s-microsoft.com/100/1b7b09ec-fd51-406f-b9bb-7679c203e0be/200/v1/image.jpg">
    </img>
  </div>
</section>
<section class="website" id="web">
  <h2>Say hello to placeholder.com</h2>
  <h3><i>A new way to code</i></h3>
  <div class="website-wrapper">
    <div class="website-card">
      <img class="website-card-icon" src="https://cdn2.iconfinder.com/data/icons/font-awesome/1792/file-code-o-128.png">
      <h4>Inspiration</h4>
      <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
    </div>
    <div class="website-card">
      <img class="website-card-icon" src="https://image.flaticon.com/icons/png/128/78/78018.png">
     <h4>Leadership</h4>
      <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
    </div>
    <div class="website-card">
      <img class="website-card-icon" src="https://image.flaticon.com/icons/png/128/25/25406.png">
      <h4>Collaboration</h4>
      <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
    </div>
    <div class="website-card">
      <img class="website-card-icon" src="https://www.freeiconspng.com/uploads/06-wallet-icon--swanky-outlines-iconset--pixelkit-14.png">
<h4>Its free!</h4>
      <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit</p>
    </div>
  </div>
  <button class="website-vist-button">Start now!</button></section>
<section class="project" id="projects">
  <h2>My Projects</h2>
  <hr>
  <div class="project-wrapper">
    <div class="project-card">
      <img class="telex"/>
      <div class="project-desc">
        <p>FCC Product Landing Page: TeleX Teleportation</p>
        <a href="https://codepen.io/Mike-was-here123/full/BOBmzY" target="_blank" class="view-project-button"> View this Project </a>
      </div>
    </div>
    <div class="project-card">
      <img class="inf"/>
      <div class="project-desc">
        <p>Product Landing Page: INF Water</p>
        <a class="view-project-button" href="https://codepen.io/Mike-was-here123/full/WadgVa" target="_blank"> View this Project </a>
      </div>
  </div>
    <div class="project-card">
      <img class="survey"/>
      <div class="project-desc">
        <p>FCC Survey Project: SurveyCo</p>
        <a href="https://codepen.io/Mike-was-here123/full/vaRjey"target="_blank"class="view-project-button"> View this Project </a>
      </div>
    </div>
    <div class="project-card">
      <img class="flex"/>
      <div class="project-desc">
        <p>FCC Technical Documentation Page: Flex Box</p>
        <a class="view-project-button"href="https://codepen.io/Mike-was-here123/full/MqJZdb"target="_blank"> View this Project </a>
      </div>
    </div>
    <div class="project-card">
      <img class="forza"/>
      <div class="project-desc">
        <p>Forza Calculator 2.0</p>
        <a class="view-project-button"href="https://codepen.io/Mike-was-here123/full/NLedzZ"target="_blank"> View this Project </a>
      </div>
    </div> 
    <div class="project-card">
      <img class="prime"/>
      <div class="project-desc">
        <p>Prime Numbers Extractor (Version 1)</p>
        <a class="view-project-button"href="https://codepen.io/Mike-was-here123/full/Zaddad"target="_blank"> View this Project </a>
      </div>
    </div>
    <div class="project-card">
      <img class="tab"/>
      <div class="project-desc">
        <p>Annoying Tab Generator</p>
        <a class="view-project-button" href="https://codepen.io/Mike-was-here123/full/bmXyzB" target="_blank"> View this Project </a>
      </div>
    </div>
    <div class="project-card">
      <img class="tag"/>
      <div class="project-desc">
        <p> HermitCraft Tag</p>
        <a class="view-project-button"href="https://codepen.io/Mike-was-here123/full/GwqBwQ"target="_blank"> View this Project </a>
      </div>
    </div>
    <div class="project-card">
      <img class="map"/>
      <div class="project-desc">
        <p>Minecraft Map Calculator
</p>
        <a class="view-project-button"href="https://codepen.io/Mike-was-here123/full/dxWNMO"target="_blank"> View this Project </a>
      </div>
    </div>
  </div>
</section>
<section class="contact" id="contact">
  <h2>- Contact Me -</h2>
  <div class="contact-list">
    <p><i class="fas fa-envelope contact-icon"></i> leadwashere@gmail.com<br> <i class="fas fa-phone contact-icon"></i>1-302-123-4567</p>
  </div>
</section>
<footer>
  <h3>Made by Michael Nicol <a href="https://github.com/michaelnicol/Portfilo-Page" target="_blank"><i class="fab fa-github footer-icon"></i></a><a href="https://codepen.io/Mike-was-here123/debug/zMWrwx" target='_blank'><i class="fab fa-codepen footer-icon"></i></a </h3> <h3>Special Thanks to Artem Petrov
<a href="https://www.freecodecamp.org/forum/u/artempetrov/summary" target="_blank"><i class="fab fa-free-code-camp footer-icon"></i></a></h3>
</footer>
</body>
</html>
            
          
!
            
              :root {
/*   --computer-font: Computer; */
}
html {
  scroll-behavior: smooth;
}
h2 {
  font-family: var(--computer-font);
  font-size: 35px;
 padding-top: 1%;
  margin-bottom: .5%;
}
::-webkit-scrollbar {
  display: none;
}
body {
  padding: 0px;
  margin: 0px;
  min-width: 250px;
  max-width: 1920px;
}
a, a:hover {
color: black;
  text-decoration: none;
}
hr {
      margin-top: 1%;
   width: 140px;
  border: 1px solid orange;
}
* {
  font-family: 'Raleway', sans-serif;
  text-align: center;
}
/* header (Nav) */
.nav {
  box-shadow: 2px 2px 5px black;
/*   border: 1px solid white; */
position: sticky;
  top: 0;
  display: flex;
  justify-content: flex-end;
  height: relative;
  color: black;
  background-color: white;
  z-index: 2;
}
.nav-child {
/*   background-color: transparent; */
  color: black;
  transition: .4s ease-in-out;
  width: 100%;
  height:57px;
  padding: 10px;
  font-size: 23px;
}
.nav-child:hover {
  background-color: #ddd;
  transform: scale(1.07);
  cursor: pointer;
    text-decoration: none;
}
#drop-button {
  outline: none;
  height: 50px;
  width: 50px;
  transition: 0.3s ease-in-out;
  background-color: transparent;
  border: 0px;
}
#drop-button:hover {
  cursor: pointer;
  transform: scale(1.1);
}
.fa-bars {
  font-size: 30px;
}
#drop-content {
  width: 100%;
  display: flex;
  flex-direction: column;
/*   display: none;
  position: block; */
}
/* banner  */
.main-banner {
  width: 100%;
  background-attachment: fixed;
  background-image: url('https://images.pexels.com/photos/640781/pexels-photo-640781.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940');
/*   https://stmed.net/man-made/hong-kong-wallpapers */
   visibility: inherit;
  text-transform: none;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-size: cover;
}
/* banner overlay */
.banner-overlay {
  width: 100%;
  padding: 10%;
  margin: 0 auto;
 display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 0;
  color: white;
  text-shadow: 2px 2px 5px black;
}
.name {
  font-size: 80px;
}
.job {
  font-size: 25px;
}
.banner-hr {
  width: 50%;
  max-width: 250px;
  border: 1px solid white;
}
.banner-icons-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: -5px;
}
.banner-icons-wrapper > a {
  transition: .2s ease-in-out;
  font-size: 30px;
  color: white;
  margin-right: 10px;
}
.banner-icons-wrapper > a:hover {
  transform: scale(1.1);
 text-shadow: 3px 3px 7px black;
}
/* about */
#about{
  position: relative;
  z-index: 1;
}
.about-wrapper {
  padding-bottom: 4%;
  display: flex;
flex-direction: wrapper;
  width: 100%;
  justify-content: center;
  flex-wrap: wrap;
}
.about-card {
  margin: .6% 2.5% 2% 2.5%;
  height: relative;
  width: 100vh;
  max-width: 300px;
  max-height: 450px;
}
.about-card > p {
  text-align: center;
}
.about-vist {
  border:1px solid black;
  padding: 5px 20px 5px 20px;
  font-size: 15px;
  width: 60px;
  border-radius: 5px;
  transition: 0.5s ease-in-out;
}
.about-vist:hover {
  background-color: black;
  color: white;
}
.about-card > img {
  margin: 0 auto;
  margin-bottom: -3%;
  width: 140px;
  height: 140px;
}
.about-card > h3 {
  font-size: 33px;
}
.bar-wrapper {
  margin-top: 4%;
  width: 100%;
  height: 27px;
  display: flex;
  flex-direction: row;
}
.bar {
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  height: 100%;
}
.hundred-bar {
  width: 100%;
    border: 1px solid black;
  border-radius: 20px;
}
.bar > p {
  text-align: center;
  font-size: 15px;
  padding: 3px;
  color: white;
}
.bar-wrapper > i {
  font-size: 28px;
  margin-right: 2%;
}
.html-bar {
  width: 90%;
  background-color: #E64E2C;
}
.css-bar {
  width: 85%;
  background-color:#2E609E;
}
.js-bar {
  width: 65%;
  background-color: #D7B942;
}
/* about-goal-container */

.about-goal-container {
  height:relative;
  background-color: black;
  background-image: url('');
/*   http://www.mediaspatter.com/wp-content/uploads/2017/08/2790brwibjxuVtq.jpg */
  color: white;
}
.about-goal {
  font-size: 17px;
 text-align: center;
  max-width: 800px;
  widith: 100vw;
  margin: 1% auto 0% auto;
  padding-bottom: 2%;
}
/* cert */
.cert-container {
  margin-bottom: 2%;
  margin-top: 1%;
  height: relative;
}
.cert-wrapper {
  padding: 2%;
  margin-top: 0%;
  display: flex;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}
.cert-card {
  box-shadow: 2px 2px 5px black;
  margin: 23px;
  height: auto;
  width: 100vw;
  max-height: 300px;
  max-width: 400px;
  border: 1px solid black;
  transition: 0.7s ease-in-out;
}
.cert-card:hover {
  transform: scale(1.05);
  box-shadow: 5px 5px 10px;
}
/* Wesbite */
.website {
  padding: 2%;
  padding-bottom: 3%;
  width: 100%;
  color: black;
  background-color: #efefef;
}
.website-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1%;
}

.website-card {
  margin: 2%;
  height:260px;
  width: 275px;
}
.website-card > p {
  font-size: 16px;
}
.website-card-icon {
  height: 100px;
  width: 100px;
  margin-bottom: 4%;
}
.website-vist-button {
  transition: 0.5s ease;
  height: 40px;
  width: 200px;
  font-size: 20px;
  border-radius: 5px;
  border: 1px solid black;
  box-shadow: 2px 2px 5px black;
  background-color: white;
  color: black;
}
.website-vist-button:hover {
  cursor: pointer;
  background-color: black;
  color: white;
}
/* projects */
.project-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-direction: row;
  flex-wrap: wrap;
  width:90%;
  margin: 0 auto;
  padding-bottom: 1%;
}
.project-card {
  border: 1px solid black;
  margin: 2%;
  width: 100vw;
  height: auto;
  max-height: 281px;
  max-width: 500px;
  box-shadow: 2px 2px 5px black;
  transition: 0.7s ease-in-out;
  transform: scale(1);
}

.project-card img {
  width: 100%;
  height: auto;
}

.project-desc {
  position: absolute;
  top: 0;
  left: 0;
  visibility:hidden;
  padding: 5%;
  background-color: black;
  color: white;
  opacity: 0.05;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: 1s ease-in-out;
}
.project-card:hover .project-desc {
  visibility:visible;
  opacity: 0.8;
  cursor: pointer;
}
.project-card:hover {
  box-shadow: 5px 5px 10px black;
  transform: scale(1.05);
  z-index: 1;
}
.view-project-button {
  border-radius: 5px;
  color: white;
  border: 2px solid white;
  width: relative;
  height: 40px;
  padding: 7px;
  margin: 0 auto;
  transition: 1s ease; 
}
.view-project-button:hover {
  background-color: white;
  color: black !important; 
  text-decoration: none;
}
.placeholder {content:url('https://i.vimeocdn.com/video/525418149_1280x720.jpg');}
.inf {content:url('https://i.ibb.co/MZqspMW/2018-12-02-3.png');}
.telex {content:url('https://i.ibb.co/MSqL7Qv/2018-12-02-4.png');}
.survey {content:url('https://i.ibb.co/Bzw70yJ/2018-12-02-5.png');}
.flex {content:url('https://i.ibb.co/BBdhLPs/2018-12-08.png');}
.forza {content:url('https://i.ibb.co/3rjHkyw/2018-12-08-8.png');}
.prime {content:url('https://i.ibb.co/7SbVzj1/2018-12-08-4.png');}
.tab {content:url('https://i.ibb.co/pvKv2VV/2018-12-08-5.png');}
.tag {content:url('https://i.ibb.co/bvzYKkw/2018-12-08-7.png');}
.map {content:url('https://i.ibb.co/rytc0y6/2019-07-30-1.png');}
/* Contact */
.contact {
  text-align: center;
  background-color: black;
  color: white;
  padding-bottom: 1%;
  font-size: 20px;
  text-align: center;
}
.contact-list {
  margin: 1% auto 0% auto;
  margin-top: 20px;
}
.contact-icon {
  font-size: 20px;
  margin-right: 3px;
}
/* Footer */
footer {
  background-color: white;
  color: black;
  padding: 1%;
}
footer > h3 {
  font-size: 18px;
}
.footer-icon {
  margin: 0px 4px 0px 4px;
  transition: 0.2s ease-in-out;
}
.footer-icon:hover {
  transform: scale(1.1);
}
@media screen and (max-width: 1250px) {
  .project-wrapper {
    width: 100%;
  }
  .website-wrapper {
    margin-top: 5%;
  }
  @media screen and (max-width: 634px) {
    .banner-overlay {
 transform: scale(0.7);
          min-width: 300px;
margin: 0 auto;
      padding: 0.5%;
  }
    .banner-hr {
      width: 250px;
    }
}
/* style the margins */
            
          
!
            
              $(document).ready(function() {
  $("#drop-content").css("display", "none");
  window.onclick = function(event) {
    let id = event.target.id;
    if (id === "drop-act") {
      $("#drop-content").toggle()
    } else {
      $("#drop-content").css("display", "none");
    }
  };
});
            
          
!
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