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">

<!-- #TODO:
* Start styling!
-->

<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>Document</title>
    <link rel="stylesheet" href="stylesheet.css">
    <link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:400,700|Source+Sans+Pro" rel="stylesheet">
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
</head>

<body>
    <nav id="navbar">
        <ul>
            <li>
                <a href="#about">About</a>
            </li>
            <li>
                <a href="#projects">Projects</a>
            </li>
            <li>
                <a href="#contact">Contact</a>
            </li>
        </ul>
    </nav>

    <header id="welcome-section">
        <h1 id="name">Hi, my name is David Martinez</h1>
        <h2 id="name-subheading">and I'm an aspiring web developer</h2>
        <hr>
        <div id="profile-pic">
            <img src="https://res.cloudinary.com/cloudavid/image/upload/ar_1:1,c_fill,g_auto,e_art:hokusai/v1547648115/Profile_Pic.jpg" alt="David Martinez" width="180" height="180">
        </div>
        <div id="skills">
            <p>Front-End Apprentice Dev&nbsp;&nbsp;|&nbsp;&nbsp;Content Writer&nbsp;&nbsp;|&nbsp;&nbsp;English-Spanish Translator&nbsp;&nbsp;|&nbsp;&nbsp;Metadata Editor</p>
        </div>
    </header>

    <section id="about">
        <hr>
        <h2>More about me</h2>
        <p>I'm an aspiring Front-End Developer, currently taking the self-learning path in freeCodeCamp, and highly interested in Full-Stack development and UX/UI design.</p>
        <p>I also have over 15 years of experience in English-Spanish translation, with a knack for the technical side of both languages.</p>
        <p>My interests have led to me gain practical experience in blogging and content marketing.</p>
        <p>Currently, I work full-time as a metadata editor for the entertainment technology industry. My specialty: Latin American music.</p>
    </section>

    <section id="projects">
        <hr>
        <h2>Check out my latest projects</h2>
        <div class="project-container">
            <div class="project-tile">
                <a href="https://codepen.io/davy_martinez/pen/LevYyv"><img src="https://res.cloudinary.com/cloudavid/image/upload/v1546828339/thumbnail-01-tribute-page_d0slev.png" alt="Tribute Page project"></a>
                <p>Tribute Page</p>
            </div>
            <div class="project-tile">
                <a href="https://codepen.io/davy_martinez/pen/dgQwOM"><img src="https://res.cloudinary.com/cloudavid/image/upload/v1546828339/thumbnail-02-survey-form_gzldlu.png" alt="Survey Form project"></a>
                <p>Survey Form</p>
            </div>
            <div class="project-tile">
                <a href="https://codepen.io/davy_martinez/pen/PXjoam"><img src="https://res.cloudinary.com/cloudavid/image/upload/v1546828339/thumbnail-03-landing-page_uwtwgz.png" alt="Landing Page project"></a>
                <p>Landing Page</p>
            </div>
            <div class="project-tile">
                <a href="https://codepen.io/davy_martinez/pen/zydYLy"><img src="https://res.cloudinary.com/cloudavid/image/upload/v1546828339/thumbnail-04-tech-doc-page_cr43k4.png" alt="Technical Documentation Page project"></a>
                <p>Technical Documentation Page</p>
            </div>
        </div>
    </section>

    <section id="contact">
        <hr>
        <h2>Contact me</h2>
        <p>You can always reach me out at:</p>
        <ul id="list-inline">
            <li>
                <a href="mailto:davy.martinez@gmail.com" class="contact-link" id="email-link" target="_blank"><i class="fas fa-at"></i></a>
            </li>
            <li>
                <a href="https://ve.linkedin.com/in/davidmartinezgarcia" class="contact-link" id="linkedin-link" target="_blank"><i class="fab fa-linkedin-in"></i></a>
            </li>
            <li>
                <a href="https://twitter.com/DaveOnContent" class="contact-link" id="twitter-link" target="_blank"><i class="fab fa-fw fa-twitter"></i></a>
            </li>
            <li>
                <a href="https://github.com/davymartinez" class="contact-link" id="profile-link" target="_blank"><i class="fab fa-fw fa-github-alt"></i></a>
            </li>
        </ul>
    </section>
    <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
</body>

</html>
            
          
!
            
              /* Color palette: "Tech light" [https://www.colourlovers.com/palette/15/tech_light] */

body {
  color: #FFFFFF;
  background-color: #000000;
}

a {
  color: #4DBCE9;
}

p {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 18px;
}

hr {
  color: #7DB4B5;
}

#navbar {
  display: flex;
  position: fixed;
  justify-content: space-around;
  align-content: center;
  top: 0px;
  width: 100%;
  background-color: #D1E751;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: bold;
}

#navbar ul {
  list-style-type: none;
}

#navbar li {
  display: inline;
  margin: 8em;
}

@media screen and (max-width: 800px) {
  #navbar li {
    margin: 1em;
  }
}

header {
  padding-top: 20vh; /*150px*/
}

@media screen and (max-width: 800px) {
  header {
    padding-top: 10vh;
  }
}

header h1 {
  font-family: 'Source Code Pro', monospace;
  color: #26ADE4;
  font-size: 48px;
  text-align: left;
}

#about h2, #projects h2, #contact h2 {
  font-family: 'Source Code Pro', monospace;
  font-size: 30px;;
  color: #26ADE4;
}

header h2 {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 30px;
  text-align: right;
  color: #4DBCE9
}

#welcome-section {
  height: 80vh; /*497px*/
}

@media screen and (max-width: 800px) {
  #welcome-section {
    height: 100%;
  }
}

#welcome-section hr {
  margin: 48px;
}

#profile-pic img {
  display: block;
  position: relative;
  z-index: -1;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
}

#skills p {
  color: #E0EFF1;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  display: block;
  overflow: hidden;
}

#about, #projects, #contact {
  margin-top: 48px;
  text-align: center;
}

@media screen and (max-width: 667px) {
  #about, #projects, #contact {
    margin-top: 40px;
  }
}

.project-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  grid-template-areas: ". ." ". .";
  gap: 16px 8px;
  justify-content: space-evenly;
  align-items: center;
  align-content: center;
  padding: 18px 18px;
  margin: 30px;
}

@media screen and (max-width: 720px) {
  .project-container {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-template-areas: ".";
  }
}

.project-tile {
  display: block;
}

.project-tile img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 667px) {
  .project-tile img {
    width: 100%;
  }
}

.project-tile p {
  text-align: center;
}

.project-tile caption {
  display: block;
}

#contact p {
  text-align: center;
}

#contact #list-inline {
  list-style: none;
  padding-left: 0px;
  font-size: 18px;
}

#list-inline li {
  padding: 7px;
}
            
          
!
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.

Console