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 lang="en">

<head>
    <meta charset="utf-8">
    <title>freeCodeCamp: Personal Portfolio Webpage</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <link rel="stylesheet" href="https://bootswatch.com/4/yeti/bootstrap.css" media="screen">
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU"
        crossorigin="anonymous">
    <link rel="stylesheet" href="style.css">
</head>

<body>
    <nav id="navbar" class="navbar fixed-top navbar-expand-md navbar-dark navbar-dark">
        <ul class="navbar-nav ml-auto">
            <li class="nav-item">
                <a class="nav-link navbar-brand d-inline" href="#welcome-section">About</a>
            </li>
            <li class="nav-item">
                <a class="nav-link navbar-brand d-inline" href="#projects">Work</a>
            </li>
            <li class="nav-item">
                <a class="nav-link navbar-brand d-inline" href="#contacts">Contact</a>
            </li>
        </ul>
    </nav>

    <div id="welcome-section">
        <div id="welcome-content" class="container text-dark">
            <div class="row">
                <div class="col-12">
                    <h1 class="d-inline-block pl-2 pr-1 mb-1">Hey world!</h1>
                    <h1 class="d-inline-block pl-1 pr-2">I'am <strong>Rubem Almeida</strong>.</h1>
                </div>
            </div>
            <div class="row">
                <div class="col-12">
                    <h4 class="d-inline pl-2 pr-2">a web developer</h4>
                </div>
            </div>
        </div>
    </div>

    <div id="projects" class="container mt-5">
        <h2 class="mb-3">This is my projects in FreeCodeCamp</h2>
        <div class="row justify-content-md-center">
            <div class="col-lg-3 col-centered">
                <div class="project-tile">
                    <a href="https://codepen.io/rubeeem/full/YjvbmE/" target="_blank">
                        <img src="https://res.cloudinary.com/rubemalmeida/image/upload/v1536161628/dev/proj01.png" alt="Tribute Page">
                    </a>
                    <div class="desc">Tribute Page</div>
                </div>
            </div>
            <div class="col-lg-3 col-centered">

                <div class="project-tile">
                    <a href="https://codepen.io/rubeeem/full/MBRMQp/" target="_blank">
                        <img src="https://res.cloudinary.com/rubemalmeida/image/upload/v1536161628/dev/proj02.png" alt="Survey Form">
                    </a>
                    <div class="desc">Survey Form</div>
                </div>
            </div>
            <div class="col-lg-3 col-centered">
                <div class="project-tile">
                    <a href="https://codepen.io/rubeeem/full/NBVPVY/" target="_blank">
                        <img src="https://res.cloudinary.com/rubemalmeida/image/upload/v1536161629/dev/proj03.png" alt="Product Landing Page">
                    </a>
                    <div class="desc">Product Landing Page</div>
                </div>
            </div>
            <div class="col-lg-3 col-centered">
                <div class="project-tile">
                    <a href="https://codepen.io/rubeeem/full/aaWGBO/" target="_blank">
                        <img src="https://res.cloudinary.com/rubemalmeida/image/upload/v1536161628/dev/proj04.png" alt="Technical Documentation Page">
                    </a>
                    <div class="desc">Technical Documentation Page</div>
                </div>
            </div>
        </div>
    </div>

    <div id="contacts" class="container mt-5">
        <h2 class="mb-3">Talk to me</h2>
        <h4>Would you like a cup of coffee?</h4>
        <div class="row">
            <div class="col-md-3 col-centered">
                <img class="avatar" src="https://res.cloudinary.com/rubemalmeida/image/upload/v1536168739/dev/me.jpg" alt="Rubem Almeida">
            </div>
            <div class="col-md-3 col-centered align-middle">
                <a href="https://www.linkedin.com/in/rubemalmeida/" target="_blank"><i class="fab fa-linkedin fa-7x" title="LinkedIn"></i></a>
            </div>
            <div class="col-md-3 col-centered">
                <a href="https://www.freecodecamp.org/rubemalmeida" target="_blank"><i class="fab fa-free-code-camp fa-7x" title="freeCodeCamp"></i></a>
            </div>
            <div class="col-md-3 col-centered">
                <a href="https://github.com/rubemalmeida/" target="_blank"><i class="fab fa-github-square fa-7x" title="Github"></i></a>
            </div>
        </div>
        <a id="profile-link" href="https://codepen.io/rubeeem/" target="_blank"></a>
    </div>

    <footer id="footer" class="mt-4">
        <p>created with love by me</p>
    </footer>

    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js"></script>
    <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
</body>

</html>
              
            
!

CSS

              
                #navbar .nav-link {
    background-color: rgba(40, 40, 40, 0.5);
}

.nav-link {
    text-transform: uppercase;
}

#welcome-section {
    top: 0;
    min-height: 100vh;
    padding-top: 45vh;
    background-image: url(https://res.cloudinary.com/rubemalmeida/image/upload/v1536153488/dev/bg-small.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-filter: saturate(0.02) contrast(0.85) brightness(1.2) sepia(0.02);
    filter: saturate(0.02) contrast(0.85) brightness(1.2) sepia(0.02);
}

#welcome-content, #projects, #contacts, footer  {
    text-align: center;
    opacity: 0.99;
    line-height: 1;
    padding: 0;
}

#welcome-content h1,
#welcome-content h4 {
    background-color: rgba(211, 211, 211, 0.7);
    margin: 0 -2px;
}

#welcome-content strong:hover {
    color: #000;
}

div.project-tile {
    border: 1px solid #ccc;
}

div.project-tile:hover {
    border: 1px solid #777;
}

div.project-tile img {
    width: 100%;
    height: auto;
    -webkit-filter: saturate(0.02) contrast(0.85) brightness(1.2) sepia(0.02);
    filter: saturate(0.02) contrast(0.85) brightness(1.2) sepia(0.02);
}

div.project-tile img:hover{
    -webkit-filter: none;
    filter: none;
}

div.desc {
    padding: 15px;
    text-align: center;
}

img.avatar {
    vertical-align: middle;
    width: 115px;
    height: 115px;
    border-radius: 50%;
}

#contacts a {
    color: #45464f;
}

#contacts a:hover {
    color: #131416;
}

footer {
    margin-top: 3em;
    font-size: 0.7rem;
    line-height: 0.3rem;
    padding-top: 1%;
    padding-bottom: 2%;
    text-align: center;
    background-color: #404040;
    color: white;
}

@media only screen and (min-width: 600px) {
    #welcome-section {
        background-image: url(https://res.cloudinary.com/rubemalmeida/image/upload/v1536153489/dev/bg-large.jpg);
    }
}

              
            
!

JS

              
                
              
            
!
999px

Console