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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

              
                <html>
  <head>
    <title>Marq Robinson Portfolio Page</title>
  </head>
  <div id="page-cont">
  <nav id="navbar">
    <ul>
      <a href="#about"><li>About</li></a>
      <a href="#projects"><li>Projects</li></a>
      <a href="https://www.freecodecamp.org/marq_robinson"><li>FCC Profile</li></a>
    </ul>
    </nav>
  <body>
    <section id="welcome-section">
      <h1>Marq Robinson's Portfolio</h1>
      <img id="welcome-img" src="https://i1.wp.com/www.marqrobinson.com/wp-content/uploads/2018/02/IMG_7064.png?resize=301%2C300&ssl=1" alt="Marq Profile Image">
      <div id="links"><a href="https://github.com/marqrobinson"> GitHub Profile</a>
      <a id="profile-link" href="https://www.freecodecamp.org/marq_robinson" target="_blank"> FCC Profile</a>
        <a href="marqrobinson.com"> Website</a></div>
      <section id="about">
      <h2 style="font-size: 30px;">About</h2>
      <p>Marq Robinson is based in Los Angeles working as a creative entrepreneur. His skills in marketing, web design, and media production combined with a sense of passion for creativity and bringing ideas to life fuel each project he produces.</p>
<p>
That creative impulse developed at an early age through an arts driven elementary school where he picked up music and endless list of side interests, each often building from the one prior. This spirit has lasted through to today as Marq continues works with his business and creative projects.</p>
    </section>
      
    <section id="projects">
      <section class="project-tile">
      <h2>Tribute Page</h2>
      <p>This Page is a tribute to the late W.E.B. Du Bois. The page provides a brief description of the late author's life and a list of his published works.</p>
      <a href="https://codepen.io/marqrobinson/pen/WNQgZWx">CodePen Link</a>
    </section>
      <section class="project-tile">
      <h2>Landing Page</h2>
      <p> This product landing page is for the official YELLOWGELATO shirt a piece of merch designed for the YELLOWGELATO project.</p>
      <a href="https://codepen.io/marqrobinson/pen/pojxamb">CodePen Link</a>
    </section>
      <section class="project-tile">
      <h2> Documentation Page</h2>
      <p>The technical documentation page was created to show a few basic HTML tags in action. Tags include: inputs, body, header, and more!</p>
      <a href="https://codepen.io/marqrobinson/pen/LYpMqXx">CodePen Link</a>
    </section>
    <section class="project-tile">
    <h2>Survey Page</h2>
      <p>This survey page for Dear 'Merica begs the question. If you had 250 words to inspire the nation what would you say?</p>
      <a href="https://codepen.io/marqrobinson/pen/VwvGOpX">CodePen Link</a>
    </section>
      </section>
    </section>
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
  </body>
  </div>

              
            
!

CSS

              
                body{
  background-image: linear-gradient(180deg, gold, orange, gold);
}

#navbar{
 position: fixed;
 top: 0;
 left: 0;
}
ul{
  list-style-type: none;
}

ul > a {
  color: white;
  font-weight: bold;
  text-decoration: none;
}

h1{
  font-size: 35px;
  color: white;
  text-align: center;
   text-shadow: 1px 1px 3px black;
}

#page-cont{
  
  width: 100%;
  margin: 0;
  padding: 30px;
  color: white;
}

#welcome-section{
  height: 100vh;
}

#welcome-img{
  width: 250px;
  border-radius: 30%;
  border-style: solid;
  border-color: orange;
  border-width: 2px;
  display: block;
  margin: 0 auto;
  box-shadow: 2px 2px 10px black;
}

#links {
  width: 300px;
  padding: 10px;
  margin: 10px auto;
  text-align: center;
}

#links > a {
  padding: 5px;
  font-weight: bold;
  color: white;
  text-shadow: 1px 1px 3px black;
}

#about{
  width: 75%;
  margin: 0 auto;
  color: white;
  padding: 10px 0;
  text-shadow: 1px 1px 3px black;
}

#about > p{
  font-weight: bolder;
  font-size: 20px;
}

#projects {
  width: 75%;
  margin: 30px auto;
  
}

#projects > section {
  background-color: orange;
  background-image: linear-gradient(15deg, orange, gold);
  padding: 15px;
  margin: 15px;
  width: 250px;
  height: 250px;
  display: inline-block;
  border-radius: 20px;
  box-shadow: 2px 2px 10px black;
  text-shadow: 1px 1px 3px black;
}
h2{
  text-align: center;
}

#projects > section > a{
  color: blue;
  text-shadow: none;
}



@media screen (max-width: 300px)
{
  H1{
    font-size: 30px;
  }
}

              
            
!

JS

              
                // !! IMPORTANT README:

// You may add additional external JS and CSS as needed to complete the project, however the current external resource MUST remain in place for the tests to work. BABEL must also be left in place. 

/***********
INSTRUCTIONS:
  - Select the project you would 
    like to complete from the dropdown 
    menu.
  - Click the "RUN TESTS" button to
    run the tests against the blank 
    pen.
  - Click the "TESTS" button to see 
    the individual test cases. 
    (should all be failing at first)
  - Start coding! As you fulfill each
    test case, you will see them go   
    from red to green.
  - As you start to build out your 
    project, when tests are failing, 
    you should get helpful errors 
    along the way!
    ************/

// PLEASE NOTE: Adding global style rules using the * selector, or by adding rules to body {..} or html {..}, or to all elements within body or html, i.e. h1 {..}, has the potential to pollute the test suite's CSS. Try adding: * { color: red }, for a quick example!

// Once you have read the above messages, you can delete all comments. 

              
            
!
999px

Console