css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
    <link rel="stylesheet" type="text/css" href="portfolio.css">
  <link href="https://fonts.googleapis.com/css?family=Fredericka+the+Great|Josefin+Slab|Lovers+Quarrel" rel="stylesheet">

    <title>Portfolio</title>
</head>

<body>
    <nav id="navbar">
        <ul>
            <li>
                <a href="#welcome-section">Home</a>
            </li>
            <li>
                <a href="#about">About Me</a>
            </li>
            <li>
                <a href="#projects">Projects</a>
            </li>
            <li>
                <a href="#profile-link">Profiles</a>
            </li>
        </ul>
    </nav>
    <main>
        <section id="welcome-section">
            <header>
                <h1>Welcome to my portfolio!</h1>
            </header>
            <img class="filler" src="https://farm2.staticflickr.com/1932/31230971548_fb2fb82afe_b.jpg">
        </section>
        <section id="about">
            <header>
                <h3>About Me</h3>
            </header>
            <p class=" info ">My name is Peige Collyear. I am 23 years old. I am the mother of a very energetic 6 year old boy. I first found interest in web development after accidentally stumbling upon the code of a webpage when I was about 13. I had never seen it before and was curious to find out what it was. Once I found out that all those letters and symbols were how webpages are written, I was sold on the idea of building webpages myself. When I'm not coding you'll usually find me cooking, singing, or playing games on my Xbox One or my laptop.
                <br>I am currently working on getting a Full Stack Web Development certification. I'm learning HTML and CSS and plan to start learning JavaScript in the near future as well as begin learning about game development.</p>
        </section>
        <section id="projects">
            <header>
                <h3>My Projects</h3>
            </header>
            <div class="projects">
                <figure>
                    <a target="_blank" href="https://codepen.io/leena-d/full/QZbvBm/"><img class="project-tile" src="https://farm2.staticflickr.com/1906/43285307540_4a5dcf02a5_b.jpg" alt="Technical Documentation Page"></a>
                    <figcaption>Technical Documentation Page</figcaption>
                </figure>
                <figure>
                    <a target="_blank" href="https://codepen.io/leena-d/full/RebOjW/"><img class="project-tile" src="https://farm2.staticflickr.com/1912/43285307870_cbc4aefdfd_b.jpg" alt="Product Landing Page"></a>
                    <figcaption>Product Landing Page</figcaption>
                </figure>
                <figure>
                    <a target="_blank" href="https://codepen.io/leena-d/full/ZMdzBO/"><img class="project-tile" src="https://farm2.staticflickr.com/1943/43285307770_67f696a7ec_b.jpg" alt="Survey Page"></a>
                    <figcaption>Survey Page</figcaption>
                </figure>
                <figure>
                    <a target="_blank" href="https://codepen.io/leena-d/full/BJEbJK/"><img class="project-tile" src="https://farm2.staticflickr.com/1963/43285307500_6869dc5a68_b.jpg" alt="Tribute Page"></a>
                    <figcaption>Tribute Page</figcaption>
                </figure>
            </div>
        </section>
        <section id="profiles">
            <header>
              <img class="filler" src="https://farm2.staticflickr.com/1969/43294164660_93e23d0e97_b.jpg">
                <h3>My Profiles</h3>
            </header>
            <button><a id="profile-link" target="_blank" href="https://www.freecodecamp.org/leena-d">FreeCodeCamp</a></button>
            <button><a id="profile-link" target="_blank" href="https://github.com/leena-d">GitHub</a></button>
        </section>
    </main>
</body>

</html>

            
          
!
            
              body {
    background-color: #1D2021;
    color: #7CE9AA;
    font-size: 25px;
    font-family: 'Josefin Slab', serif;
    line-height: 1.5;
    margin: 30px;
}
section {
    height: 100vh;
}
section::before {
    display: block;
    content: " ";
    margin-top: 80px;
    height: 100px;
    visibility: hidden;
    pointer-events: none;
}
#navbar {
    width: 100vw;
    display: flex;
    font-family: 'Lovers Quarrel', cursive;
    font-size: 50px;
    position: fixed;
    z-index: 1;
    margin-left: -30px;
    margin-top: -100px;
}
#navbar ul {
    width: 100%;
    background-color: #000;
    list-style: none;
    text-align: right;
    padding-right: 10px;
}
#navbar ul li {
    display: inline;
    margin-right: 20px;
}
#navbar a {
    text-decoration: none;
    color: #12B073;
    text-align: center;
}
#navbar a:hover {
    background-color: #12b073;
    color: #000;
}
h1 {
  font-family: 'Fredericka the Great', cursive;
  font-size: 66px;
  color: #12B073;
}
h3 {
    color: hsl(199, 34%, 40%);
    font-size: 55px;
    font-family: 'Fredericka the Great', cursive;
    margin-bottom: 40px;
}
#welcome-section {
    text-align: center;
    margin-top: 100px;
}
#welcome-section img {
    width: 512px;
    height: 317.5px;
    display: block;
    text-align: center;
}
.projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.project-tile {
    width: 449.3px;
    height: 222.3px;
}
figure {
    margin-bottom: 15px;
}
#profiles header {
    margin-top: 550px;
}
#profiles header img {
    width: 467.6px;
    height: 263px;
}
.filler {
    display: block;
    margin: 0 auto;
}
#profiles button {
    font-size: 25px;
    display: block;
    margin-bottom: 15px;
    background-color: #12B073;
    border-radius: 10px;
    padding: 5px;
}
#profiles button a {
    text-decoration: none;
    color: #1d2021;
    font-family: 'Josefin Slab', serif;
    font-weight: bold;
}
@media only screen and (max-width: 605px) {
  body {
    font-size: 40px;
  }
    section::before {
        display: block;
        content: " ";
        margin-top: -40px;
        height: 80px;
        visibility: hidden;
        pointer-events: none;
    }
    #navbar {
        width: 100%;
        display: flex;
        font-size: 55px;
        position: fixed;
        z-index: 1;
        margin-top: -58px;
        align-content: center;
    }
    #navbar ul {
        width: 100%;
        background-color: #000;
        list-style: none;
        text-align: center;
        padding: 15px;
    }
    #navbar ul li {
        display: inline;
        margin-right: 20px;
    }
    #navbar a {
        text-decoration: none;
        color: #12B073;
        text-align: center;
    }
    .projects {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-top: 30px;
    }
    .project-tile {
        width: 224.6px;
        height: 111.2px;
    }
    #welcome-section img {
        width: 512px;
        height: 317.5px;
    }
  h1 {
    font-size: 45px;
  }
    #profiles header {
        margin-top: 100px;
    }
    #profiles button {
        font-size: 25px;
        display: block;
        margin-bottom: 15px;
        background-color: #12B073;
        border-radius: 10px;
        padding: 5px;
    }
    #profiles button a {
        text-decoration: none;
        color: #1d2021;
    }
    .filler {
        display: block;
        margin: 0 auto;
    }
}

            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console