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>

<body>
  <div class="behind-nav-bar">
    <nav id="navbar">
      <div><strong> <a class="nav-link-text" href="#home">Home</a></strong></div>
      <div> <strong><a class="nav-link-text" href="#portfolio">Portfolio</a></strong></div>
      <div><strong><p class="initials">CQ</p></strong></div>
      <div><strong><a class="nav-link-text"  href="#about">About</a></strong></div>
      <div><strong><a class="nav-link-text" href="#contact">Contact</a></strong></div>
    </nav>
  </div>
  <div class="welcome" id="welcome-section">
    <h1 class="white-text" id="home"><strong>Hi there! I'm Connie <br>Welcome to My Portfolio </strong></h1>
    <p class="welcome-text"> I'm an aspiring front-end developer</p>
  </div>
  <h2 id="portfolio">Here are some of my projects</h2>
  <div class="project-section" id="projects">
    <div class="tribute">
     <a class="tile-link" target="_blank" href="https://codepen.io/ConnieQ/full/gqvzdx"><img class="tribute-page project-tile" src="https://i.lensdump.com/i/WAy1P7.png" alt="tile tribute page twice picture"></a>
    </div>
    <div class="survey"><a class="tile-link" target="_blank" href="https://codepen.io/ConnieQ/full/ErLOPN"> <img class="survey-form project-tile" src="https://i.lensdump.com/i/WAyKhH.png" alt="tile for survey form picture"></a> </div>
    <div class="technical-doc"><a class="tile-link" target="_blank" href="https://codepen.io/ConnieQ/full/zemErP"><img class="project-tile" src="https://i.lensdump.com/i/WW4EXe.png" alt="tile for technical documentation picture"></a>
    </div>
    <div class="product-landing"><a class="tile-link" target="_blank" href="https://codepen.io/ConnieQ/full/gqjMMv"><img class="project-tile" src="https://i.lensdump.com/i/WW4JNH.md.jpg" alt="tile for product landing matcha"></a>
    </div>
  </div>
  <div class="about-me" id="about" >
  <h3>About Me</h3>
  <p class="about-me-paragraph"><strong>My name is Connie and I am currently teaching myself to become a web developer <br>and eventually a front end developer. Besides learning to code, I love to listen to music and play games <br> during my free time.</strong></p>
  </div>
</body>

</html>
              
            
!

CSS

              
                @import url('https://fonts.googleapis.com/css?family=Arapey');
@import url('https://fonts.googleapis.com/css?family=Poiret+One');
@import url('https://fonts.googleapis.com/css?family=Allerta+Stencil');
body{
  margin: 0;
}
nav{
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0px;
  height: 5em;
  background-color: #D83616;
  justify-content: space-around;
  position: fixed;
}
h1{
  text-align: center;
  font-family: "Poiret One";
  line-height: 100px;
  padding-top: 300px;
  font-size: 50px;
  color: #ffffff;
}
h2{
  font-family:"Poiret One";
  font-size:37px;
  text-align: center;
  padding-top: 70px;
  background-color: #FEFAEF;
  margin-top: -35px;
}

h3{
  font-size: 37px;
  font-family: "Poiret One";
}
.initials{
  font-size: 290%;
  color: #ffffff;
  font-family: "Allerta Stencil";
  padding-right: 13%;
}

.nav-link-text{
  text-decoration: none;
  font-size: 150%;
  margin-right: 30%;
  color: #ffffff;
  font-family: "Poiret One";
}
.welcome{
  background: url(https://i.lensdump.com/i/WAy06C.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  height: 800px;
  margin-top: -34px;
}
.welcome-text{
  font-size: 30px;
  color: white;
  text-align: center;
  font-family: "Poiret One";
}
.white-text{
  color: #ffffff;
}
.project-section{
  background-color: #FEFAEF;
  margin-top: -33px;
  padding-top: 6%;
  height: 800px;
  display: grid;
  grid-template-columns: repeat(4, 28%);
  grid-template-rows: 250px 250px;
  grid-row-gap: 10%;
}
.tribute{
  grid-row: 1/1;
  grid-column: 2/3; 
}
.survey{
  grid-row: 1/1;
  grid-column: 3/4;
}
.technical-doc{
  grid-row: 2/3;
  grid-column: 2/3;
}
.product-landing{
  grid-row: 2/3;
  grid-column: 3/4;
}
a{
  display: inline-block;
}
.project-tile{
  width: 300px;
  height: 250px;
  display: inline-block;
  border-style: solid;
  border-width: 1px;
  color: #000000;
}
.tile-link{
    width: 300px;
  height: 250px;
  }
.about-me{
  background-color: #FEFAEF;
  text-align: center;
  margin-top: -38px;
}
.about-me-paragraph{
  font-family: "Poiret One";
  font-size: 25px;
}


a:hover{
  color: #000000;
  text-decoration: underline;
}

@media screen and (max-width: 450px){
  .initials{
    font-size: 250%;
  }
  h1{
    padding-top: 50%;
  }
  .nav-link-text{
    margin-right:15%;
    font-size: 120%;
}
  
  .welcome{
    background: url(https://i.lensdump.com/i/WAy8io.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
  }
nav{
  display: flex;
  align-items: center;
  width: 100%;
  margin: auto;
  height: 5em;
  background-color: #D83616;
  justify-content: space-around;
  position: fixed;
}
  .project-section{
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: 4fr;
    grid-template-areas:
      "tribute"
      "survey"
      "technical"
      "product-landing";
    justify-items: center;
  }
  .tribute{
    grid-area: tribute;
  }
  .survey{
    grid-area: survey;
  }
  .technical-doc{
    grid-area: technical;
  }
  .product-landing{
    grid-area: product-landing;
  }
  .project-tile{
    width: 100%;
  }
}
 @media screen and (max-width: 361px){
   .nav-link-text{
    margin-right:10%;
    font-size: 120%;
   }
}

              
            
!

JS

              
                
              
            
!
999px

Console