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>

<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
  </head>
            <!---NAVBAR START--->
  <body>
    <nav id="navbar" class="nav" style="background-color: white;">
      <div class="nav-cont">
        <div class="logo-cont">
          <img src="https://lh3.googleusercontent.com/aXwlBQ0uqsq9ly2AWwVTDOaGD0RtqXZrqnO-p7hXhxi6zpZxVRMdSvikpfwrbT7BrOUUvUVO6YDw95O06d2_5jlFaLSjGPJZ8vwTVC02fe9kAulQlL2Yiu-mECV2NssjBeSrhcKyRA=w2400" alt="kambaTechlogo" class="logo-img"/>
        </div>
        
        <ul>
          <li><a href="#welcome-section">About</a></li>
          <li><a href="#projects">Projects</a></li>
          <li><a href="#Contact">Contact</a></li>
        </ul>    
       </div>
      </nav>
                   <!-----Welcome Section------>
  <div class="section-cont">
    <section id="welcome-section" class="wel-section">
      <h1>Hello, I am Kamba Juliet</h1>
      <p>A Web Developer</p>
    </section>
  </div>
    
                 <!----PROJECT SECTION------>
  <section id="projects" class="projects-section">
    <h2 class="project-sec-header"><u>These are some of my projects</u></h2>
    
    <div class="section-div">
      <a href="https://codepen.io/kambajuliet/full/gOLwOXQ" 
         target="_blank" 
         class="project-tile"
      >       
      <p class="project-title">Technical Documentation Page</p>        
      <img 
         src="https://lh3.googleusercontent.com/ASUFOfwvhq7fldoa3s6zH26Ei-1GTF41dmp2vxqDj5OeLVavzGCt2TuXoDe88lyJUl9-ZBuP056U5irm973wAjEhpzVYkYr6VBEVYCST-ijUSmPZTry1z1kTgCfrbLj6_ZPoTxfLFw=w2400"
           alt="Documentation page"
           class="project-image">
      </a>
      
      <a href="https://codepen.io/kambajuliet/full/dypZbwP" 
         target="_blank" 
         class="project-tile"
      >  
              <p class="project-title">Product Landing Page</p> 
      <img 
           src="https://lh3.googleusercontent.com/-RFlgOcSWHWC9MfnEhkRzikLNiGFA28jg3r4oGS2uCgGFGUyB7XOC7JbaeHRQIvDCaTkpA3PjiRr6uQ8knEkhvfxoFLfFq8qUg9ONFlZdIy1h1yFE5mzb2krZUDv_p3SNXRqDKe4Tg=w2400"
           alt="landing page" 
           class="project-image">
      </a>
      
      <a href="https://codepen.io/kambajuliet/full/ExgPJqe" 
         target="_blank" 
         class="project-tile"
      >
            <p class="project-title">Survey Form</p> 
      <img            src="https://lh3.googleusercontent.com/DX93PEJVMZI9xYoUrxErvy3JMsbuxzoK7Je5XZBux3tFaPM7T_JCKNCxCvHIbRU5Ryu_UWkYVx0DNXz3ThzEen-rR60OZeJ_W2Daj033qib5HTXQ-YINPZIWL51JlT53Xn8v7ISIcg=w2400" 
           alt="Survey Form" 
           class="project-image">
      </a>
      
      <a href="https://codepen.io/kambajuliet/full/MWjKbvP" 
         target="_blank" 
         class="project-tile"
      >
      <p class="project-title">Tribute Page</p> 
      <img 
           src="https://lh3.googleusercontent.com/qK-vnzxbieuiOmOYYSz9LUu2QNfoywLGu_SEaLcw7FSA1FFauuAOFHLfVILFJdpXGNYddZLNKSknZq6Q_MOodIwwr_Am0I-PaZao8VVQv0W7o2yp8H5DYN9TWjj6aGYbLIGJ3PrhIw=w2400" 
           alt="Tribute Page" 
           class="project-image">
    </div>
  </section>
  
                        <!------MORE INFO------->
  <a href="https://www.freecodecamp.org/kambajuliet" 
     class="more-info-section" 
     target="_blank"
     id="profile-link">More Information
    </a>
  
                   <!------CONTACT-------->
    
    <section id="Contact" class="contact-section">
        <div class="contact-header">
          <h2>Let's Work Together...</h2>
        </div>
      
      <div class="contact-links">
    <a href="https://facebook.com/juliet.kamba9/"
      target="_blank"
      class="contact-details">
      Facebook</a>
        
    <a href="https://www.instagram.com/juliet_kamba/"
      target="_blank"
      class="contact-details">
      Instagram</a>
        
    <a href="mailto:kambajuliet10@gmail.com" class="contact-details">
      Send a mail</a>
        
    <a href="tel:070-3230-4821" class="contact-details">
      Call me</a>
        
      </div>
    </section>
    
    <!------FOOTER------>
    <footer>
      <span>&copy Created by KambaTech 2021</span>
    </footer>
    <!---Footer Section End-->
    
    
  
 </body>
</html>
  
  
              
            
!

CSS

              
                /******BODY*******/
body {
  margin: 0;
  padding: 0;
  background-color: #111E6C !important;
  color: white;
}

h1 {
  position: relative;
  top: 55px;
  font-weight: bold;
  font-family: Arial, railway;
  font-size: 30px;
} 

p {
 position: relative;
 top: 55px;
 font-weight: bold;  
 font-family: arial, poppins;
 font-size: 23px;
}

/********HEADER*********/

.nav {
  top: 0;
  position: fixed;
  width: 100%;
  
}

.nav-cont { 
  height: 85px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  background-color: #fff;
}

.logo-img {
  height: 85px;
}

a {
  text-decoration: none;
  color: black;
  font-size: 25px;
} 

ul {
  display: flex;  
  margin: 0;
  padding: 0;
}

li {
  list-style-type: none;
  margin: 24px;
  position: relative;
  left: 750px;
}

                  /******MEDIA QUERY******/

@media (min-width: 400px){
  .nav-cont logo-img{
    width: 20%;
  }
}

               /*******Welcome Section*********/
.wel-section {
  position: relative;
  top: 100px;
  height: 100vh;
  width: 100%;
  text-align: center;
}

                 /******PROJECT SECTION*******/
.project-sec-header {
  font-size: 30px;
  font-weight: bold;
  font-family: arial, popins;
  text-align: center;
}

#projects {
  text-align: center;
  
}

.project-title {
   text-align: center;
   margin-bottom: 15px;
   color: white;
}

.project-image {
  width: 800px;
  border-style: solid;
  border-width: 60px 20px 20px 20px;
  border-radius: 1.0rem;
}

.section-div {
  display: grid;
  margin: 10px;
}

         /******MORE INFO******/
.more-info-section {
  background-color: black;
  color: white;
  font-size: 28px;
  text-align: center;
  margin: 555px;
  border: 8px solid black;
}

           /*****CONTACT******/
.contact-section {
  font-family: arial, popins;
  font-size: 20px;
  text-align: center;
  margin: 60px;
}

contact-details {
  margin: 50px;
}

/*******FOOTER*******/

footer {
  text-align: center;
  font-size: 23px;
  color: white;
  background-color: black;
  padding: 10px;
} 
              
            
!

JS

              
                <!--------->
              
            
!
999px

Console