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

              
                <!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Elisabetta Carrara - Portfolio</title>
    <link rel="stylesheet" type="text/css" href="./assets/css/portfoliostyle.css">
    <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Fira+Sans:wght@400;700&display=swap" rel="stylesheet">

</head>

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

    <section id="welcome-section" class="welcome">
        <h1>Hi, I am Elisabetta Carrara</h1>
        <h2>I am a front-end developper</h2>
    </section>

    <h1 class="mywork">
        My Projects
    </h1>

    <section id="projects" class="container">

        <div class="project-title">
            <p class="codepen" data-height="300" data-theme-id="dark" data-default-tab="result" data-slug-hash="wvpQmaQ" data-user="ElisabettaC77" style="height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;">
                <span>See the Pen <a href="https://codepen.io/ElisabettaC77/pen/wvpQmaQ">
                FCC:docspage</a> by ElisabettaCarrara (<a href="https://codepen.io/ElisabettaC77">@ElisabettaC77</a>)
                on <a href="https://codepen.io">CodePen</a>.</span>
              </p>
              <script async src="https://cpwebassets.codepen.io/assets/embed/ei.js"></script>
        </div>

        <div class="project-title">
            <p class="codepen" data-height="300" data-theme-id="dark" data-default-tab="result" data-slug-hash="dyJqQZQ" data-user="ElisabettaC77" style="height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;">
                <span>See the Pen <a href="https://codepen.io/ElisabettaC77/pen/dyJqQZQ">
                FCC - Product Landing Page</a> by ElisabettaCarrara (<a href="https://codepen.io/ElisabettaC77">@ElisabettaC77</a>)
                on <a href="https://codepen.io">CodePen</a>.</span>
              </p>
              <script async src="https://cpwebassets.codepen.io/assets/embed/ei.js"></script>
        </div>

        <div class="project-title">
            <p class="codepen" data-height="300" data-theme-id="dark" data-default-tab="result" data-slug-hash="JjjpPwY" data-user="ElisabettaC77" style="height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;">
                <span>See the Pen <a href="https://codepen.io/ElisabettaC77/pen/JjjpPwY">
                FCC: Survey Form</a> by ElisabettaCarrara (<a href="https://codepen.io/ElisabettaC77">@ElisabettaC77</a>)
                on <a href="https://codepen.io">CodePen</a>.</span>
              </p>
              <script async src="https://cpwebassets.codepen.io/assets/embed/ei.js"></script>
        </div>

        <div class="project-title">
            <p class="codepen" data-height="300" data-theme-id="dark" data-default-tab="result" data-slug-hash="VwwQZxj" data-user="ElisabettaC77" style="height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;">
                <span>See the Pen <a href="https://codepen.io/ElisabettaC77/pen/VwwQZxj">
                FCC: Tribute Page Lucy van Pelt</a> by ElisabettaCarrara (<a href="https://codepen.io/ElisabettaC77">@ElisabettaC77</a>)
                on <a href="https://codepen.io">CodePen</a>.</span>
              </p>
              <script async src="https://cpwebassets.codepen.io/assets/embed/ei.js"></script>
        </div>
        <div class="project-title">
            <p class="codepen" data-height="300" data-theme-id="dark" data-default-tab="result" data-slug-hash="jOYXOVj" data-user="ElisabettaC77" style="height: 300px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; border: 2px solid; margin: 1em 0; padding: 1em;">
                <span>See the Pen <a href="https://codepen.io/ElisabettaC77/pen/jOYXOVj">
                Portfolio - FCC</a> by ElisabettaCarrara (<a href="https://codepen.io/ElisabettaC77">@ElisabettaC77</a>)
                on <a href="https://codepen.io">CodePen</a>.</span>
              </p>
              <script async src="https://cpwebassets.codepen.io/assets/embed/ei.js"></script>
        </div>
    </section>

    <section id="contact" class="contact-me">
        <div class="back">
            <h2 class="find">
                Find me here:
            </h2>
            <a href="https://github.com/ElisabettaCarrara" id="profile-link" class="link"><ion-icon name="logo-github"></ion-icon></a>
        </div>
    </section>

    <script type="module" src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.esm.js"></script>
    <script nomodule src="https://unpkg.com/ionicons@5.5.2/dist/ionicons/ionicons.js"></script>
</body>

</html>
              
            
!

CSS

              
                /*
Global fonts
*/

body {
    font-family: 'Fira Sans', sans-serif;
}

body nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: burlywood;
    position: fixed;
    top: 0;
    width: 100%;
}

body nav li {
    float: left;
}

body nav li a {
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

body nav li a:hover {
    background-color: #ff1616;
}

.welcome {
    background-color: dimgrey;
    text-align: center;
    padding: 30px;
    height: 100vh;
}

.welcome h1 {
    color: burlywood;
    font-size: 80px;
    padding-top: 20px;
}

.welcome h2 {
    color: burlywood;
    font-size: 40px;
}

.mywork {
    font-size: 80px;
    color: #ff1616;
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: burlywood;
    text-align: center;
}

.container {
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
}

.project-title {
    width: 40%;
    padding: 20px;
}

.back {
    background-color: dimgray;
    text-align: center;
    padding: 20px;
}

.find {
    color: burlywood;
    font-size: 40px;
}

ion-icon {
    font-size: 40px;
    color: burlywood;
}

@media only screen and (min-width:320px) and (max-width:768px) {
    .welcome {
        background-color: dimgrey;
        text-align: center;
        padding: 5px;
        height: 100vh;
    }
    
    .welcome h1 {
        color: burlywood;
        font-size: 30px;
        padding-top: 40px;
    }
    
    .welcome h2 {
        color: burlywood;
        font-size: 16px;
    }

    .mywork {
        font-size: 30px;
        color: #ff1616;
        padding-top: 20px;
        padding-bottom: 20px;
        background-color: burlywood;
        text-align: center;
    }

    .container {
        display: flex;
        flex-direction: column;
        justify-content:center;
    }
    
    .project-title {
        width: 90%;
        padding-top:10px;
        padding-bottom:10px;
    }
}
              
            
!

JS

              
                
              
            
!
999px

Console