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

              
                <!DOCTYPE html>
<html lang="en-US">
    <head> 
<title>Freelance Front End Developer - Agnes Mbuya</title>
<meta charset="utf-8">
<meta name="Portfolio" content="Author: Agnes Mbuya, Category: Front End Developer, length: 4pages">
<meta name = "theme_color" content="#F42641">
<link rel="stylesheet" href="flexportfoli.css" type="text/css"> 
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="viewport" content="width=667, initial-scale=1">
<meta name="viewport1" content="width=1024, initial-scale=1"> 

<link href="https://fonts.googleapis.com/css?family=Cardo" rel="stylesheet">       
        
        
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
        
</head>
<body>
<main id="main">
<header><nav id="navbar" class="nav-link">
            <ul>  
            <li class="mainnav"><a href="#about" class="nav-link">About</a></li>
            <li class="mainnav"><a href="#projects" class="nav-link">Portfolio</a></li>
            <li class="mainnav"><a href="#contact" class="nav-link">Contact</a></li>   
    </ul></nav> 
</header>   

<section id="welcome-section">
<div class="myimage">
<img src="https://i.postimg.cc/tTtncJC1/myimage-jpeg2000.jpg" alt="photo of Developer - Agnes Mbuya" class="passphoto">  
</div>
<div class="myname" id="about"><h1>I'm Agnes Mbuya</h1>
<h2 style="text-align: center;">Freelance Front End Developer.</h2> 
I develop fast interactive front ends, using the latest technologies and techniques to reduce page load time. I use my knowledge and tools to save time in design and development.

<p>I am able to Design wireframes/prototypes & templates in record time and I'm committed and dedicated to product delivery taking into consideration customer satisfaction and needs.</p>  
</div>  
</section>    
    
<section id="projects">
    <div class="project-tile"><h2>What I have been  up to:</h2> 
    <div class="project-title" id="blinks">
        <img src="https://i.postimg.cc/fbnbTR2M/blink.png" id="blinkphoto" alt="Screenshot of Blink launchpad">
        <hr>
    <a href="https://aggymbuya.github.io/blinks-landing-page/" target="_blank" class="blinks project-title" rel="noopener">Landing Page</a>
       
    </div>
        
    <div class="project-tile" id="survey">
       <img src="https://i.postimg.cc/vmtGYLxv/survey.png" id="surveyshot" alt="Screenshot of OVC Survey Form"> 
        <hr>
        <a href="https://aggymbuya.github.io/survey.github.io/" target="_blank" class="survey project-title" rel="noopener">Survey</a>
        
    </div> 
        
    <div class="project-tile" id="tribute">
    <img src="https://i.postimg.cc/c1b0LJCP/tribute.png" id="tributeshot" alt="Screenshot of Tribute Page">  
        <hr>
    <a href="https://aggymbuya.github.io/sankaratribute.github.io/" target="_blank" class="tribute project-title" rel="noopener">Tribute</a>
    </div> 
        
    <div class="project-tile" id="moreprojects">
    <h2> <a href="https://codepen.io/dashboard/" id="profile-link" target="_blank" rel="noopener">
        All Projects</a>   
    </h2>    
    </div> 
    </div>
</section> 
    
<section id="contact"> 
<div class="contact"><h2>Can we engage more?</h2>
<div class="github">
    <a href="https://github.com/aggymbuya">Github</a>
</div>
<div class="twitter">
    <a href="https://twitter.com/aggymbuya">Twitter</a>
</div>
<div class="email">
<a href="mailto:aggymbuya@gmail.com">Send an Email</a>    
    
</div>
<div class="linkedin">
 <a href="https://www.linkedin.com/in/aggymbuya/">LinkedIn</a>   
</div>
   <br>
    <hr> 
<p>This responsive web site has been designed, developed, and maintained by <span style="color:#8bc064">Agnes Mbuya &copy; 2019.</span> All Rights Reserved. It’s built with the latest front end technology, optimised for a fast page load, hosted on Github and Codepen. Current Average load is 1.4s.</p> 
<p style="text-align: center; color:#8bc064;">Email: aggymbuya@gmail.com</p>
</div> 
</section>    
    
</main>  
</body>
</html>
              
            
!

CSS

              
                html {
  scroll-behavior: smooth;
  theme_color: #353537;
}

body {
    background-color: #353537;
    color: #c8c8c8;
    position:relative;
    object-position: top;
    font-size: 20px;
    line-height: 1.5;
    font-family: 'Cardo', serif;
}

#navbar {
    position: fixed;
    width: 100%;
    top: 0;
    text-align: left;
    margin-left: 65px;
    margin-top: 10px;
}

li {
    display: inline-block;
    margin-right: 20px;
    padding-right: 10px;
    border-right: 1px solid #6db432;
}

/* To make font display very fast */

@font-face {
    font-family: "Cardo";
    font-display:auto;
    src:"https://fonts.googleapis.com/css?family=Cardo";
}

a:link {
  color: #191919; 
  background-color: transparent; 
  text-decoration: none;
}

a:visited {
  color: #191919; 
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: #fd6902;
  background-color: #6db432;
  text-decoration: underline;
}

a:active {
  color: #6db432;
  background-color: transparent;
  text-decoration: underline;
}



h1 {
    font-size: 48px;
    color: #6db432;
    text-align: center;
}

h2 {
    color: #6db432;
    font-size: 32px;
    text-align: center;
}

h3 {
    color: #6db432;
    font-size: 24px;
    text-align: center;
}

p {
    color: #c8c8c8;
    background-color: #353537;
}

hr {
    border: 1px solid #aeacb5;
}


  @media only screen and (max-height:100vh) { 
.primarycontent {
    display: grid;
    grid-template-columns: repeat(2, 30vw);
    grid-template-rows: repeat(2, 10vh);
    grid-template-areas: "welcome-section welcome-section welcome-section" "myimage myimage myname";
    height: 100vh;
    } 
#welcome-section {
    grid-row: 1;
    grid-column: 1/3;
    grid-area: welcome-section;
    grid-template-columns: repeat(2, 30vw);
    grid-template-rows: repeat(2, 10vh);
    width: 90vw;
    top: 0;
    height: 100vh;
    margin-left: 60px;
    border-radius: 5%;    
    border-left: 1.5px solid #8bc064;
    border-right: 1.5px solid #8bc064;
    border-left-style: dashed;
    border-right-width: thick;
}
.myimage {
    grid-row: 2;
    grid-column: 1/3;
    grid-area: myimage;
    grid-template-columns: repeat(2, 30vw);
    grid-template-rows: repeat(2, 10vh);
    width: 23vw;
    height: 35vh;
    border-radius: 2%;
    margin-left: 60px;
    margin-top: 100px;
}
.myname {
    grid-row: 2;
    grid-column: 3/3;
    grid-area: myName;
    grid-template-columns: repeat(2, 30vw);
    grid-template-rows: repeat(2, 10vh);
    width: 50vw;
    height: 70vh;
    border-radius: 2%;
    margin-left: 450px;
    margin-top: -150px;
    
}
      }
.passphoto {
    width: 200px;
    height: 200px;
    transition: transform .2s;
    margin-left: 50px;
    margin-top: 5px; 
}
.passphoto:hover {
    transform: scale(1.8);
}   

.secondarycontent {
    display: grid;
    grid-template-columns: repeat(2, 30vw);
    grid-template-rows: repeat(3, 10vh);
    grid-template-areas: "projects projects" "blinks survey" "tribute moreprojects";
    max-height: 110vh;
    }
#projects {
    grid-row: 3;
    grid-column: 1/2;
    grid-area: projects;
    grid-template-columns: repeat(2, 30vw);
    grid-template-rows: repeat(3, 10vh);
    width: 90vw;
    height: 110vh;
    margin-left: 60px;
    border-radius: 5%;
    margin-top: 60px;
    background-color: #353537;  
    border-bottom: 1.5px solid #8bc064;
    border-right: 1.5px solid #8bc064;
    border-right-style:dashed;
    border-bottom-width: thick;
}
#blinks {
    grid-row: 4;
    grid-column: 2/2;
    grid-area: blinks;
    grid-template-columns: repeat(2, 30vw);
    grid-template-rows: repeat(3, 10vh);
    width: 25vw;
    height: 43vh;
    border-radius: 2%;
    margin-left: 60px;
    margin-top: 5px;
    border: 0.5px solid #8bc064;
    background-color: #8bc064;
    text-align: center;
    font-size: 16px;
}
#survey {
    grid-row: 4;
    grid-column: 2/2;
    grid-area: survey;
    grid-template-columns: repeat(2, 30vw);
    grid-template-rows: repeat(3, 10vh);
    width: 25vw;
    height: 43vh;
    border-radius: 2%;
    margin-left: 600px;
    margin-top: -270px;
    border: 0.5px solid #8bc064;
    background-color: #8bc064;
    text-align: center;
    font-size: 16px;
}
#tribute {
    grid-row: 5;
    grid-column: 1/2;
    grid-area: tribute;
    grid-template-columns: repeat(2, 30vw);
    grid-template-rows: repeat(3, 10vh);
    width: 25vw;
    height: 43vh;
    border-radius: 2%;
    margin-left: 60px;
    margin-top: 50px;
    border: 0.5px solid #8bc064;
    background-color: #8bc064;
    text-align: center;
    font-size: 16px;
}
#moreprojects {
    grid-row: 5;
    grid-column: 2/2;
    grid-area: moreprojects;
    grid-template-columns: repeat(2, 30vw);
    grid-template-rows: repeat(3, 10vh);
    width: 20vw;
    height: 10vh;
    border-radius: 2%;
    margin-left: 650px;
    margin-top: -200px;
    background-color: #6db432;
    } 
#moreprojects:hover {color: #6db432; }
#blinkphoto {
    height: 200px;
    width: 200px;
    transition: transform .2s;
}
#blinkphoto:hover {transform: scale(1.5);
}
#surveyshot {
    height: 200px;
    width: 200px;
    transition: transform .2s;
}
#surveyshot:hover {transform: scale(1.5);
}
#tributeshot {
    height: 200px;
    width: 200px;
    transition: transform .2s;
}
#tributeshot:hover {transform: scale(1.5);}

.additionalcontent {
    display: grid;
    grid-template-columns: repeat(4, 30vw);
    grid-template-rows: repeat(2, 10vh);
    grid-template-areas: "contact contact contact contact" "github twitter email linkedin";
    max-height: 100vh;
    }
.contact {
    grid-row: 6;
    grid-column: 1/2;
    background-color: #353537;
    grid-area: contact;
    grid-template-columns: repeat(4, 30vw);
    grid-template-rows: repeat(2, 10vh);
    width: 70vw;
    height: 53vh;
    margin-left: 60px;
    border-radius: 5%;
    margin-top: -20px;
    margin-left: 200px;    
    border-bottom: 1.5px solid #8bc064;
    border-left: 1.5px solid #8bc064;
    border-bottom-style:dashed;
    border-left-width: thick;
}
.github {
    grid-row: 7;
    grid-column: 1/2;
    grid-area: github;
    grid-template-columns: repeat(4, 30vw);
    grid-template-rows: repeat(2, 10vh);
    width: 10vw;
    height: 5vh;
    border-radius: 2%;
    margin-left: 20px;
    margin-top: -15px;
    text-align: center;
    border: 1px solid #6db432;
    border-style: dotted;
    background-color: #6db432;
}
.github:hover{background-color: #8bc064;}
.twitter:hover{background-color: #8bc064;} 
.email:hover{background-color: #8bc064;}
.linkedin:hover{background-color: #8bc064;}

.twitter {
    grid-row: 7;
    grid-column: 2/2;
    grid-area: twitter;
    grid-template-columns: repeat(4, 30vw);
    grid-template-rows: repeat(2, 10vh);
    width: 10vw;
    height: 5vh;
    border-radius: 2%;
    margin-left: 240px;
    margin-top: -28px;
    text-align: center;
    border: 1px solid #6db432;
    border-style: dotted;
    background-color: #6db432;
}
.email {
    grid-row: 7;
    grid-column: 3/3;
    grid-area: email;
    grid-template-columns: repeat(4, 30vw);
    grid-template-rows: repeat(2, 10vh);
    width: 15vw;
    height: 5vh;
    border-radius: 2%;
    margin-left: 450px;
    margin-top: -36px;
    text-align: center;
    border: 1px solid #6db432;
    border-style: dotted;
    background-color: #6db432;
}
.linkedin {
    grid-row: 7;
    grid-column: 3/4;
    grid-area: linkedin;
    grid-template-columns: repeat(4, 30vw);
    grid-template-rows: repeat(2, 10vh);
    width: 10vw;
    height: 5vh;
    border-radius: 2%;
    margin-left: 700px;
    margin-top: -30px;
    text-align: center;
    border: 1px solid #8bc064;
    border: 1px solid #6db432;
    border-style: dotted;
    background-color: #6db432;
}

              
            
!

JS

              
                
              
            
!
999px

Console