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

              
                (<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>)

<body>
  <div class="container">
      <nav id="navbar">

        <div class="logo"><a href="#welcome-section">HattingH</a></div>
      
        <ul>
          <li><a href="#welcome-section">Welcome</a></li>
          <li><a href="#projects">Projects</a></li>
          <li><a href="#contact">Contact</a></li>
        </ul>
      </nav>

    <section id="welcome-section">
        <div class="home">
          <h1>Welcome,</h1>
          <h1>I'm Wayne</h1><small>since 1973</small>
          
          <h3 class="description">I know how to work with people,</h3> <h3 class="description">Now I am learning how to work with the web.</h3>
          <p>let's see if we can create <a href="#contact" class="synergy">synergy</a></p>
        </div>
    </section>


    

    
    <section id="projects">
      <h1 class="projects-header">My Journey</h1> 

      <div class="projects-grid">

      <div class="project-tile">
        <div class="info">
          <h3 class="pt-header">Mandela Tribute</h3>
          <a href="https://codepen.io/da-ol-man/full/PrWMdX" target="_blank" class="pt-live-link">
            Live view</a>
          <img src="https://user-images.githubusercontent.com/51297205/74103278-2eeaed80-4b4b-11ea-9684-fb998c1e3718.png" alt="thumbnail of project page" class="pt-img">
          <p>
            <code class="pt-code-link"><a href="https://github.com/da-ol-man/WH-Tribute-Page-Mandela" target="_blank">&#60;Nitty Gritty&#47;&#62;</a></code>
          </p>          
        </div>
      </div>

      <div class="project-tile">
        <div class="info">
          <h3 class="pt-header">Surevy Form</h3>
           <a href="https://codepen.io/da-ol-man/full/dyyvgRa" target="_blank" class="pt-live-link" >
            Live view</a>
           <img src="https://user-images.githubusercontent.com/51297205/74103295-55108d80-4b4b-11ea-9155-78d623374b22.png" alt="thumbnail of survey" class="pt-img">
          <p>
            <code class="pt-code-link"><a href="https://github.com/da-ol-man/WH-Survey" target="_blank">&#60;Nitty Gritty&#47;&#62;</a></code>
          </p>          
        </div>
      </div>

      <div class="project-tile">
        <div class="info">
          <h3 class="pt-header">Landing Page</h3>
           <a href="https://codepen.io/da-ol-man/full/gOOQoKw" target="_blank" class="pt-live-link">
            Live view</a>
           <img src="https://user-images.githubusercontent.com/51297205/74103323-86895900-4b4b-11ea-9854-7be240ca93a8.png" alt="thumbnail of landing page" class="pt-img">
          <p>
            <code class="pt-code-link"><a href="https://github.com/da-ol-man/WH-Product-Landing-Page" target="_blank">&#60;Nitty Gritty&#47;&#62;</a></code>
          </p>          
        </div>
      </div>

      <div class="project-tile">
        <div class="info">
          <h3 class="pt-header">Technical Document</h3>
           <a href="https://codepen.io/da-ol-man/full/BayXRdz" target="_blank" class="pt-live-link">
            Live view</a>
          <img src="https://user-images.githubusercontent.com/51297205/74103345-a91b7200-4b4b-11ea-8792-829b74365956.png" alt="thumbnail of technical document" class="pt-img">
          <p>
            <code class="pt-code-link"><a href="https://github.com/da-ol-man/WH-Technical-Documentation-Page"  target="_blank">&#60;Nitty Gritty&#47;&#62;</a></code>
          </p>          
        </div>
      </div>

      <div class="project-tile">
        <div class="info">
          <h3 class="pt-header">Personal Profile Page</h3>
           <a href="https://codepen.io/da-ol-man/full/ZEGEEOR" target="_blank" class="pt-live-link">
            Live view</a>
          <img src="https://user-images.githubusercontent.com/51297205/74101975-753a4f80-4b3f-11ea-8251-485fc007a8cf.png" alt="thumbnail of profile page" class="pt-img">
          <p>
            <code class="pt-code-link"><a href="https://github.com/da-ol-man/WH-Portfolio-Page" target="_blank">&#60;Nitty Gritty&#47;&#62;</a></code>
          </p>          
        </div>
      </div>

      <div class="project-tile">
        <div class="info">
          <h3 class="pt-header">Gateway Technical</h3>
           <a href="https://gatewaytech.co.za" target="_blank" class="pt-live-link">
            Live view</a>
          <img src="https://user-images.githubusercontent.com/51297205/74102805-4fb14400-4b47-11ea-9c54-1d9d6b4869bf.png" alt="thumbnail of gatewaytech" class="pt-img">
          <p>
            <code class="pt-code-link"><a href="https://github.com/da-ol-man/gateway"  target="_blank">&#60;Nitty Gritty&#47;&#62;</a></code>
          </p>          
        </div>
      </div>

    </div>
    </section>


  <section id="contact">
    
    <h1 class="contact-header">Contact for <span class="contact-header-span">Synergy</span></h1>


      <div class="contact">
        <div class="contact-list">

          <div class="contact-item"><span class="iconify" data-icon="el:phone-alt" data-inline="false"></span><span class="social-tel"> +48 732 243 378</span></div>


          <div class="contact-item"><a href="mailto:waynehattingh@mail.com"><span class="iconify" data-icon="whh:emailalt" data-inline="false"></span><span class="social-email"> waynehattingh@mail.com</span></a></div>

          <div class="contact-item"><a href="https://github.com/da-ol-man" target="_blank" id="profile-link"><span class="iconify" data-icon="fa-brands:github" data-inline="false"></span></a>
          </div>
          
          <div class="contact-item"><a href="https://www.linkedin.com/in/waynehattingh/" target="_blank"><span class="iconify" data-icon="brandico:linkedin-rect" data-inline="false"></span></a>
          </div>

          <div class="contact-item"><a href="https://www.freecodecamp.org/da-ol-man" target="_blank"><span class="iconify" data-icon="fa-free-code-camp" data-inline="false"></span></a>
        </div>

        </div>
      </div>  

  </section>

  </div>
</body>
              
            
!

CSS

              
                 /*  ====== CSS RESET ====== */

* {
  padding: 0;
  margin: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}

/*=== Variables ===*/

:root {
  --min-grey: #FAFAFA;
  --med-grey: #ECECEC;
  --max-grey: #DFDFDF;
  --navy-color: #2B3252;
  --red-color: #EF5455;
  --yellow-color: #FAD744;
}

/* ==== Base Styles ==== */

body {
  color: var(--navy-color) ;
  font-family: lato, "Helvetica Neue", Helvetica, sans-serif;
  line-height: 1.3;
  height: 100vh;
  overflow: hidden;
  padding: 0.5rem;
}

.container {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  scroll-behavior: smooth;
  /*
  scroll-snap-type: y mandatory;
  */
}
  
#welcome-section,
#contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100vh;
    /*
  scroll-snap-align: center;
  */
  
}

 /*
  =================
  typography
  =================
  */

  h1 {
    font-size: 3.2rem;
    font-weight: 300;
    line-height: 1;
  }

  h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1.2rem;
  }

  small {
    color: var(--red-color);
  }

  .description {
    margin: 1.5rem 0;

  }


/* navigation */

#navbar {
  background-color: #ffffff;
  position: fixed;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  top: 0;
  z-index: 999;
  width: 100%;
  padding: .3rem 1rem 0 0;
}

.logo a{
  display: block;
  color: var(--navy-color);
  border-top: .625rem solid var(--red-color);
  border-bottom: .125rem solid var(--navy-color);
  font-size: 1.3rem;
  font-weight: 300;
  padding-top: 2.1rem;
}

#navbar ul {
  list-style: none;
  text-align: left;
  font-size: .7rem;
}

#navbar ul li {
  border-top: .125rem solid var(--navy-color);
  display: block;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 400;
  padding: .24rem;
  
}

#navbar ul li a {
  color: var(--navy-color);
}

#navbar ul li:last-child {
  border-bottom: .125rem solid var(--navy-color);
}

#navbar ul li a:hover {
  color: var(--red-color);
  font-weight: 400;
  transition: .4s;
  cursor: pointer;
}

/* ==== Welcome ==== */

.synergy {
  color: var(--red-color);
  font-weight: 400;
}
.synergy:hover {
  font-weight: 900;
  transition: ease-out .3s;
  padding-top: 0;
}

/* ==== Projects ==== */

#projects {
  text-align: center;
  padding: 5.4rem 0;
}

.projects-header {
 text-align: center;
 margin-bottom: 1rem;
}
 
.projects-grid {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 3rem;
  max-width: 1080px;
} 

.project-tile {
  border: 1px solid var(--navy-color);
  border-radius: 8px;
  background-color: var(--min-grey);
  padding: .3rem;
  text-align: center;
}

.pt-header {
  font-weight: 300;
}

.pt-live-link {
  margin: 0 6rem .3rem 6rem;
}

.pt-img {
  margin: 0 auto;
}

.pt-live-link {
  display: block;
  font-size: 1.2rem;
  color: var(--red-color);
}
.pt-code-link a {
  color: var(--navy-color);
}

.pt-live-link:hover,
.pt-code-link a:hover {
  font-weight: 900;
  color: var(--red-color)
}

/* ==== Contacts section ==== */

.contact-header {
  padding: 4rem 0 1rem 0;
}

.contact-header-span {
  color: var(--red-color);
  font-weight: 400;
}

.contact-item {
  padding: 1rem 0 .5rem 0;
}

.contact-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
}

.social-email {
  color: var(--navy-color);
  font-size: 1.2rem;
  vertical-align: .6rem;
  padding-left: .6rem;
}

.social-tel {
  color: var(--navy-color);
  font-size: 1.2rem;
  vertical-align: .8rem;
  padding-left: .4rem;
}

svg[data-icon="el:phone-alt"] {
  color: var(--navy-color);
  height: 2.5rem;
  width: auto;
}

svg[data-icon="whh:emailalt"] {
  color: var(--navy-color);
  height: 1.7rem;
  width: auto;
}

svg[data-icon="fa-brands:github"],
svg[data-icon="brandico:linkedin-rect"] {
  color: var(--navy-color);
  height: 4rem;
  width: auto;
}

svg[data-icon="fa-free-code-camp"] {
  color: var(--navy-color);
  height: 3rem;
  width: auto;
}

svg[data-icon="fa-brands:github"]:hover,
svg[data-icon="brandico:linkedin-rect"]:hover,
svg[data-icon="fa-free-code-camp"]:hover,
svg[data-icon="whh:emailalt"]:hover, 
.social-email:hover {
  color: var(--red-color);
}


/*  
=================
larger screen devices
=================
*/

@media only screen and (min-width: 720px) {

  #navbar {
    padding-top: 0;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 1 0 0rem 
  }

  .logo a {
    font-size: 5rem;
    font-weight: 200;
    /*text-shadow: 1px 1px var(--red-color);*/
    padding: 1.5rem 0 0 0;
  }

  #navbar ul {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 1.4rem;
    width: 50vw;
  }

  #projects {
    padding: 10rem 0;
  }

  @media only screen and (min-width: 1200px) {
    #navbar ul {
      width: 30vw;
    }

    #projects {
      padding: 12rem 0;
    }
  }

  #navbar ul li {
    border-bottom: .125rem solid var(--red-color);
  }

  #navbar ul li:last-child {
    border-bottom: .125rem solid var(--red-color);
  }

  #navbar ul li:hover,
  #navbar ul li:last-child:hover {
    border-bottom: .125rem solid var(--navy-color);
    transition: .4s;
  }

  #navbar ul li:hover {
    border-top: .0625rem solid var(--red-color);
    transition: .4s;
  }
  
  #navbar ul li a:hover {
    font-weight: 100;
  }

    /*
  =================
  typography
  =================
  */

  h1 {
    font-size: 5rem;
    padding-bottom: 1.125rem;
  }

  h2 {
    font-size: 3rem;
  }

  h3 {
    font-size: 2.2rem;
  }

  h4 {
    font-size: 1.8rem;
    padding-bottom: .75rem;
  }

  h5 {
    font-size: 1.5rem;
    padding-bottom: .75rem;
  }

  p {
    font-size: 1.2rem;
  }
}
              
            
!

JS

              
                
              
            
!
999px

Console