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. 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

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>

<link
  rel="stylesheet"
  href="https://use.fontawesome.com/releases/v5.8.2/css/all.css"
  integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay"
  crossorigin="anonymous"
/>

<nav id="navbar"> 
  <ul>
    <a id="nav-link" href="#welcome-section">About</a>
    <a id="nav-link" href="#projects">Work</a>
    <a id="nav-link" href="#contact">Contact</a>
  </ul>
</nav>

<section id="welcome-section">
  <div id="left">
  <img id="welcome-img" src="https://github.com/BrendaMichellle/img/blob/master/avataaars2.png?raw=true" width="200" alt="avatar of a woman with black background"/>
  </div>
  <div id="right">
  <h1 id="welcome-title">Hello I am Brenda</h1>
  <h2 id="sub-title">Front End Web Developer</h2>
  </div>
</section>

<h2 id="project-title">These are some of my projects<h2>

<section id="projects">
    <div class="project-tile">
      <a id="profile-link" class="project" href="https://codepen.io/brendamichellle/pen/jOqqazP" target="_blank"><img class="project-img" src="https://github.com/BrendaMichellle/img/blob/master/Screen%20Shot%202020-08-19%20at%207.46.43%20PM.png?raw=true" width="400" alt="project"/>
        <h3>Product Landing Page</h3>
      </a>
    </div>
    
    <div class="project-tile">
      <a class="project" href="https://codepen.io/brendamichellle/pen/RwaaybO" target="_blank"><img class="project-img" src="https://github.com/BrendaMichellle/img/blob/master/Screen%20Shot%202020-08-19%20at%207.46.08%20PM.png?raw=true" width="400" alt="project"/>
        <h3>Technical Documentation Page</h3></a>
    </div> 
    
    <div class="project-tile">
      <a class="project" href="https://github.com/BrendaMichellle/img/blob/master/Screen%20Shot%202020-08-19%20at%207.42.11%20PM.png?raw=true" target="_blank"><img class="project-img" src="https://github.com/BrendaMichellle/img/blob/master/Screen%20Shot%202020-08-19%20at%207.42.11%20PM.png?raw=true" width="400" alt="project"/>
        <h3>Travel Survey Form</h3>
        </a>
    </div>
  <div class="project-tile">
      <a class="project" href="https://codepen.io/brendamichellle/pen/eYJbPev" target="_blank"><img class="project-img" src="https://github.com/BrendaMichellle/img/blob/master/Screen%20Shot%202020-08-19%20at%2010.48.57%20PM.png?raw=true" width="400" alt="project"/>
        <h3>Tribute Page</h3>
        </a>
    </div>
</section>
    
    <section id="contact">
      <div id="contact-header">
        <h2>Lets work together</h2>
        <p>You can find me here...</p>
      </div>
      <div id="contact-links">
        <a href="https://www.instagram.com/brendamichellle/" target="_blank" class="contact-btn"><i class="fab fa-instagram"></i> Instagram</a>
        <a href="https://twitter.com/MichellleBrenda" target="_blank" class="contact-btn"><i class="fab fa-twitter-square"></i> Twitter</a>
        <a href="https://github.com/BrendaMichellle" target="_blank" class="contact-btn"><i class="fab fa-github"></i> Github</a>
        <a href="https://codepen.io/brendamichellle" target="_blank" class="contact-btn"><i class="fab fa-codepen"></i> Codepen</a>
      </div>
    </section>
  <footer>
    <p>copyright @2020 BrendaMichelle</p>
  </footer>
              
            
!

CSS

              
                /*font-family: 'Fira Sans Extra Condensed', sans-serif;*/

@import url('https://fonts.googleapis.com/css2?family=Fira+Sans+Extra+Condensed:ital,wght@0,100;0,300;0,400;0,700;0,900;1,200&display=swap');

* {
  margin: 0; 
  padding: 0; 
  box-sizing: border-box;
}

html {
  font-size: 16px;
  font-family: 'Fira Sans Extra Condensed', sans-serif;
}

#navbar {
  display: flex; 
  justify-content: flex-end; 
  background: #ff6666; 
  width: 100%; 
  padding: 10px 10%;
  position: fixed; 
  top: 0; 
  z-index: 500;
}

#nav-link {
  text-decoration: none; 
  font-size: 1.5rem; 
  color: black; 
  padding: 20px; 
}

@media (max-width: 400px) {
  #nav-link {
    font-size: 1.2rem;
    padding: 10px; 
  }
}

#welcome-section {
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  grid-template-rows: 1fr; 
  grid-template-areas: "img title";
  background: #19191e; 
  width: 100%;
  height: 100vh; 
}

#left {
  grid-area: img; 
  justify-self: start;
  align-self: center; 
}

#right {
  grid-area: title; 
  justify-self: start; 
  align-self: center; 
}

#welcome-img {
  height: 70vh; 
  width: 30vw; 
  position: absolute; 
  top: 50px; 
}

#welcome-title {
  color: white; 
  font-size: 5rem; 
}

#sub-title {
  color: #ff6666; 
  font-size: 3rem; 
  font-weight: 400; 
}

@media (max-width: 400px) {
  #welcome-section {
    grid-template-columns: 1fr; 
    grid-template-rows: 1fr; 
    text-align: center; 
  }
  #welcome-img {
    display: none; 
  }
}

#projects {
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  grid-template-rows: 1fr 1fr; 
  justify-items: center; 
  align-items: center; 
  grid-gap: 10px; 
  background: white; 
  width: 100vw; 
  height: 100vh; 
}

#project-title {
  font-size: 3rem; 
  text-align: center; 
  margin: 40px auto 60px auto; 
}

.project-tile {
  padding: 15px;
  text-align: center; 
}

.project {
  padding: 30px; 
  margin: 40px 20px; 
  color: black; 
  text-decoration: none;
}

.project-img {
  border: 4px solid black;
  border-radius: 5px; 
}

.project-img:hover {
  position: relative; 
  top: 5px; 
}

.project h3 {
  font-size: 1.6rem; 
  font-weight: 300; 
  font-style: italic; 
  text-align: center; 
}

.project h3:hover {
  color: #ff6666;
}

@media (max-width: 400px) {
  #projects {
  grid-template-columns: 1fr; 
  grid-template-rows: 1fr 1fr 1fr;
  grid-gap: 1px; 
  max-height: 100vh; 
  overflow: scroll;
  }
  
  #project-title {
    margin: 20px auto 20px auto;
  }
  
  .project-tile {
    padding: 5px; 
  }
  
  .project {
    padding: 5px; 
    margin: 2px; 
  }
  
  .project-img {
    max-width: 300px; 
  }
}

#contact {
  background: #19191e;
  color: white; 
  height: 50vh; 
  width: 100vw; 
}

#contact-header {
  text-align: center; 
  margin: 10px auto;
  padding: 20px; 
}

#contact-header h2 {
  font-size: 3.5rem; 
  font-weight: 700; 
}

#contact-header p {
  font-size: 2rem; 
  font-weight: 300; 
}

#contact-links {
  display: flex; 
  justify-content: center; 
  align-items: center; 
  padding: 20px;
}

.contact-btn {
  text-decoration:none; 
  color: white; 
  font-size: 1.5rem; 
  font-weight: 400; 
  padding: 10px 20px; 
}

.contact-btn:hover {
  color: #ff6666;
  position: relative; 
  top: 5px; 
}

@media (max-width:400px) {
  #contact {
    height: 50vh; 
  }
  
  .contact-btn {
    padding: 5px; 
    font-size: 1.2rem;
  }
  
  #contact-links {
    padding: 2px; 
  }
}

footer {
  background: #3d3d49; 
  color: white; 
  height: 10vh; 
  width: 100vw; 
  font-size: 1.5rem;
  font-weight: 300; 
}

footer p {
  padding: 10px; 
}

@media (max-width: 400px) {
  footer {
    font-size: 1.2rem; 
  }
  
  footer p {
    padding: 15px; 
  }
}

              
            
!

JS

              
                
              
            
!
999px

Console