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.

    <meta charset="utf-8" />
    <link href="portfolio.css" rel="stylesheet" />

    <header id="header">
        <h2>freeCodeCamp Portfolio Page</h2>
        <h2><em>for Matthew McKinzie</em></h2>
        <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/1b/App-icon-flat.svg/240px-App-icon-flat.svg.png" />

    <nav id="navigation">
        <a href="#about">ABOUT</a>
        <a href="#portfolio">PORTFOLIO</a>
        <a href="#reading">WHAT I AM READING</a>

    <div id="content-area">
        <div id="about">
            <p style="text-align: justify">
                A <a href="https://about.freecodecamp.org/">freeCodeCamp</a> student, from September 4, 2017, working on Front End
                Development skills: HTML5 and CSS, Responsive Design with Bootstrap, jQuery, JavaScript,
                and JSON APIs and Ajax. Along the way building a portfolio of projects illustrating object
                oriented and functional programming, and algorithm scripting. Hoping to contribute to
                freeCodeCamp's "Open Source for Good" after completion of certifications in Front End 
                Development, Data Visualization and Back End Development.
        <hr />
        <div id="portfolio">
            <h2><em>freeCodeCamp Basic Front End Development Project:</em></h2>
            <h2><a href="https://codepen.io/mmcknz/full/Xebdwq/">Tribute Page</a></h2>
            <img src="http://blog.fogus.me/wp-content/uploads/2011/08/alan_perlis-243x300.jpg" height="15%" width="15%"/>
            <br />
            <br />
            <h2><em>freeCodeCamp Intermediate Front End Development Projects:</em></h2>
            <h2>Quote Machine (under development)</h2>
            <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Wikiquote-logo-en.svg/200px-Wikiquote-logo-en.svg.png" width="25%" height="25%"/>
            <h2>Local Weather (under development)</h2>
            <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/f/fc/Weather-sun-clouds-shower.svg/200px-Weather-sun-clouds-shower.svg.png" width="25%" height="25%" />
            <h2>Wikipedia Viewer (under development)</h2>
            <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/e3/Nuvola_wikipedia_icon.png/240px-Nuvola_wikipedia_icon.png" width="25%" height="25%" />
            <h2>Twitch Streamers (under development)</h2>
            <img src="https://avatars.curseapp.net/groups/bc4d789b-6bc7-4e73-9392-b1fc6445612c" width="25%" height="25%"/>
            <br />
            <br />
            <h2><em>freeCodeCamp Advanced Front End Development Projects</em></h2>
            <h2>JavaScript Calculator (under development)</h2>
            <img src="https://upload.wikimedia.org/wikipedia/commons/1/1e/Calculator_icon.svg" height="25%" width="25%" />
            <h2>Pomodoro Clock (under development)</h2>
            <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/e/ef/Antu_org.kde.plasma.timer.svg/240px-Antu_org.kde.plasma.timer.svg.png" width="25%" height="25%"/>
            <h2>Tic Tac Toe Game (under development)</h2>
            <img src="https://upload.wikimedia.org/wikipedia/commons/f/f6/Tic_Tac_Toe.png" height="25%" width="25%"/>
            <h2>Simon Game (under development)</h2>
            <img src="https://upload.wikimedia.org/wikipedia/commons/thumb/8/87/Pocket_Simon_by_Milton_Bradley%2C_Copyright_1980%2C_Made_in_the_USA_%28Handheld_Electronic_Game%29.jpg/215px-Pocket_Simon_by_Milton_Bradley%2C_Copyright_1980%2C_Made_in_the_USA_%28Handheld_Electronic_Game%29.jpg" />


    <div id="reading">
        <h1>What I am Reading</h1>
        <h2><a href="https://fcc.im/2kKi8RZ">How to think like a programmer - a step-by-step guide to approaching projects and coding challenges</a></h2>
        <h2><a href="https://forum.freecodecamp.org/t/frequently-asked-questions-about-the-freecodecamp-beta/134331">Frequently Asked Questions about the freeCodeCamp Beta</a></h2>

    <footer id="footer">
        <h3><em>A freeCodeCamp Front End Designer Project</em></h3>

              body {
    background-color: black;
    font-size: 1.2em;

li {
    list-style: none;

hr {
    height: 1px;
    color: #123455;
    background-color: #123455;
    border: none;

#header {
    background-color: burlywood;

header img {
    height: 15%;
    width: 15%;

#navigation {
    background-color: steelblue;
    text-align: center;

#navigation a {
    padding-left: 30px;
    padding-right: 30px;

#content-area {
    background-color: coral;

#reading {
    background-color: goldenrod;

#footer {
    background-color: mediumseagreen;

body div, header, footer, nav {
    text-align: center;
    padding: 10px;
    margin: 10px;
🕑 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.