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

              
                <head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, intital-scale=1.0">
<title>M. Rodriguez Portfolio</title>
</head>
<body>
<!--<div class="background">
 <div class="blur">-->
   <nav id="navbar" class="nav-container">
    <ul>
      <li><a href="#welcome-section">Home</a></li>
      <li><a href="#about">About</a></li>
      <li><a href="#projects">Projects</a></li>
      <li><a href="#contact">Contact</a></li>
     </ul>
   </nav>
 <main>
   <section id="welcome-section">   
    <div class="container purple-background" id="welcome-page">
      <div>
        <h1>Michaella Rodriguez</h1>
          <p>aspiring front-end developer</p>
     </div>
     <div>
      <img class="larger-image thin-purple-border" id="profile-pic" src="https://i.postimg.cc/fLrw4d9M/profile2.jpg" alt="Headshot of Michaella, a white woman with peach hair and glasses">
      </div>
    </div>            
</section>
    <section id="about">
      <div class="container-two purple-background">
        <div class="about-info">
        <p>I recently discovered the wide world of coding, and I can't believe I didn't go down this path sooner! Coding and web development combine all of my passions into one area - logic, language, and design.</p>
        </div>
        <div class="about-info">
    <p>with FreeCodeCamp, I quickly began creating my own projects. I plan to learn as many programming languages as I can!</p>
      </div>
        </div>   
    </section>
  <section id="projects">
     <div class="title purple-background">
        <h3>Projects to date</h3>
      </div>
    <div class="container-three purple-background">
      <div class="project-tile one">
        <a  href="https://codepen.io/micha-ella/full/wveqBrw" target="_blank">
         <img class="project-pic" src="https://assets.codepen.io/6789124/internal/screenshots/pens/wveqBrw.default.png?fit=cover&format=auto&ha=false&height=360&quality=75&v=2&version=1631564703&width=640" alt="tribute page screenshot">Tribute Page</a>
      </div>
      <div class="project-tile two">
        <a href="https://codepen.io/micha-ella/full/xxrLZPp"  target="_blank">
          <img class="project-pic" src="https://assets.codepen.io/6789124/internal/screenshots/pens/xxrLZPp.default.png?fit=cover&format=auto&ha=true&height=360&quality=75&v=2&version=1631566071&width=640" alt="survey form screenshot">Survey Form</a>
      </div>
      <div class="project-tile three">
        <a href="https://codepen.io/micha-ella/full/PojKZLo" target="_blank">
          <img class="project-pic" src="https://assets.codepen.io/6789124/internal/screenshots/pens/PojKZLo.default.png?fit=cover&format=auto&ha=true&height=360&quality=75&v=2&version=1631566781&width=640" alt="tech doc page screenshot">Technical Documentation Page</a>
          </div>
      <div class="project-tile four">
        <a href="https://codepen.io/micha-ella/full/dyRzGRK" target="_blank">
        <img class="project-pic" src="https://assets.codepen.io/6789124/internal/screenshots/pens/dyRzGRK.default.png?fit=cover&format=auto&ha=false&height=360&quality=75&v=2&version=1631565917&width=640" alt="landing page screenshot">Product Landing Page</a>
      </div>
    </div>
  </section>
   <section id="contact">
     <div class="container-four purple-background">
     <h3>Let's talk shop!</h3>  
     <div class="socials">
       <img class="contact" src="https://i.postimg.cc/fTz4PHjC/5340252-discord-forum-group-message-icon.png" alt="discord icon">
      <img class="contact" src="https://i.postimg.cc/c44rMGCB/211904-social-github-icon.png" alt="github icon">
       <a id="profile-link" href="https://forum.freecodecamp.org/u/micha.ella/summary" target="_blank"><img class="contact" src="https://i.postimg.cc/nrLTtwVb/4691243-freecodecamp-icon-1.png" alt="FCC icon"></a>
       </div>
     </div>
   </section>
</main>

</body>
              
            
!

CSS

              
                * {
  box-sizing: border-box;
}

html, body {
  font-size: 18px;
  min-width: 300px;
  height: 100%;
  font-family: sans-serif;
}

#welcome-section {
  background-image: url(https://i.postimg.cc/Gt1YSqZ0/sky.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100%
}

.container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-evenly;
  height: 100vh;
  width: 100%;
}


#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 5em;
  background-color: rgba(173, 171, 239, 0.6);
}

nav ul {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  list-style-type: none;
}

nav li {
  font-family: sans-serif;
  font-size: 1.4rem;
  padding: 0.5em 2em;
}

li a{
  color: rgb(250, 180, 127);
  text-shadow: 0.05em 0.05em rgb(0, 0, 50);
  text-decoration: none;
}

h1 {
  font-family: sans-serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: rgba(0, 0, 95, 0.8);
}

p {
  font-family: sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  text-transform: uppercase;
  color: rgba(0, 0, 95, 0.8);
}

.larger-image {
  width: 20vw;
}

.thin-purple-border {
  border-width: 1px;
  border-color: rgba(100, 0, 250, 0.6);
  border-style: solid;
  border-radius: 50%;
}

#profile-pic {
  border-radius: 50%;
}

#about {
    background-image: url(https://i.postimg.cc/mrrX1WNx/image.jpgg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100vh;
    width: 100%;
  
}

.container-two {
  display: flex;
  flex-direction: row;
  height: 100%;
  justify-items: center;
  align-items: center;
  margin: 0 auto;
  padding: 2em;
}


.about-info {
  padding: 0.55em;
  text-align: left;
}


.purple-background {
  /*display: flex;
  flex-direction: row;*/
  width: 80%;
  height: 100vh;
  background-color: rgba(60, 7, 245, 0.3);
  margin: 0 auto;
  padding: 1em;
}



#projects {
    background-image: url(https://i.postimg.cc/fRc5rT5Q/tumblr-pvj047d8ds1svp654o1-1280.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
  
}

.title {
  width: 80%;
  height: 10vh;
  font-family: sans-serif;
}

h3 {
  margin: auto;
  text-align: center;
  color: rgb(32, 26, 107);
  text-shadow: 0.03em 0.03em rgb(0, 0, 50);
}

.container-three {
  display: grid;
  height: 100vh;
  width: 80%;
  grid-template-areas: "one two"
                       "three four";
  grid-template-rows: 1fr 1fr;
  grid-template-columns: 1fr 1fr;
  place-items: center;
}

.one {
  grid-area: one;
}

.two {
  grid-area: two;
}

.three {
  grid-area: three;
}

.four {
  grid-area: four;
}

.project-tile {
  width: 90%;
  height: 80%;
  background-color: rgba(188, 66, 245, 0.5);
  box-shadow: 0.2em 0.2em rgba(0, 0, 0, 0.3)
}

.project-pic {
  width: 100%;
  height: 85%;
}

.project-tile, a {
  color: rgb(32, 26, 107);
  font-family: sans-serif;
  text-decoration: none;
  
}

.project-tile, a:hover {
  color: rgb(247, 70, 250);
  text-decoration: none;
}

#contact {
    background-image: url(https://i.postimg.cc/Wz0VYgwk/original.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 35vh;
    width: 100%;
}

.contact {
  height: 5em;
  width: 5em;
}

.container-four {
  display: flex;
  flex-direction: column;
  width: 80%;
  height: 35vh;
  padding-top: 2em;
  
}

.socials {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 30vh;
  padding-top: 2em;
  justify-content: space-evenly;
}

@media only screen and (max-width: 500px) {

#navbar {
    top: 0;
    right: 0;
    height: 0.5em;
  }  
  
nav ul {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  list-style-type: none;
}  
  
  
.container,
.container-two {
    display: flex;
    flex-direction: column;
    
  }  
  
 .about-info {
  padding: 0 0.5em;
  text-align: left;
  max-width: 100%;
} 

 
.container-three {
  height: 100%;
  grid-template-areas: "one"
                       "two"
                       "three"
                       "four";
  grid-template-columns: 1fr;
}
  
  .project-tile {
    width: 100%;
    margin-bottom: 1.5em;
  }
  
}
              
            
!

JS

              
                

              
            
!
999px

Console