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

              
                <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>
<!DOCTYPE html>
<html lang="en">
  <head>
    <!-- Required meta tags -->
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
    <link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet">
    <title>My Portfolio</title>

    <style>

      html, body {
        font-family: 'Inconsolata', monospace;
        
      }

      * {
        margin: 0;
        padding: 0;
      }

      .main {
        top: 0;
        background: #b3e6ff;
        min-height: 55vh;
        padding-bottom: 45vh;
        color:black; 
        text-align: center;
        border: 2px solid black;
      }

      #contact {

        top: 0;
        background: #c1f0f0;
        min-height: 55vh;
        padding-top: 50px;
        padding-bottom: 50px;
        color:black; 
        text-align: center;
        border: 2px solid black;
      }

      .portfolio{
        top: 0;
        background: #ccccff;
        min-height: 55vh;
        padding-top: 45vh;
        padding-bottom: 45vh;
        color:white; 
        display: grid;
        grid-template-columns: 25% 25% 25% 25%;
        text-align: center;
        text-decoration: none;
        font-size: 50px;
        letter-spacing: 1px;
        border: 2px solid black;
       
      }

      header{
        color:white;
        font-size: 50px;
      }

      .tribute-img,.survey-img,.product-img,.document-img{
        display: inline-block;
        width: 500px;
        max-height:300px;
        border-bottom: 2px solid lightblue;
        margin-left: 70px;
        margin-right: 50px;
        border: 2px solid black;
      }
     
      
      #welcome-section{
        padding-top: 200px;
        height: 100vh;
        weight: 100vh;
      }
      
      #navbar{
      position: fixed;
      top: 0px;
      width: 100%;
      }
      
      figcaption{
        color:black;
      }
      
      .project-tile{
        position:absolute;
      }
      
      #profile-link{
        font-size:55px;
      }
    </style>
  </head>
  <body>
    <div class="main" id="main">
      <nav id="navbar" class="navbar navbar-expand-lg navbar-light">
  <a class="navbar-brand" href="#main">Portfolio</a>
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>
  <div class="collapse navbar-collapse" id="navbarNav">
    <ul class="navbar-nav">
      <li class="nav-item active">
        <a class="nav-link" href="#work">Work<span class="sr-only">(current)</span></a>
      </li>
      <li class="nav-item active">
        <a class="nav-link" href="#contact">Contact</a>
      </li>
    </ul>
  </div>
    </nav>
      <section id="welcome-section">
        <h1>Hello, world. I am RDA28.</h1>
        <h2>Welcome to my web development portfolio.</h2>
        <p>Feel free to take a look at the front-end sites I have tried my best to create.</p>
        <i class="fab fa-codepen"></i>
      </section>
      <section id="projects">
        <div class="project-title">
      <div class="portfolio">
        <div class="row">
          <figure>
    <a href="https://codepen.io/CornedGhost/pen/OaMxZz">
      <img class="tribute-img" src="https://lh5.googleusercontent.com/wzHbkB1mkk7A3iBPDezbVJtjRlDrmLSeIRuUIGglhlLG2f0Z8OmpTvIKN2EnT9n7brL8AzRNPXt7JbIXElv0=w2560-h938"alt="tribute">
            <figcaption>Tribute</figcaption></a>
      </figure>
        </div>
        
        <div class="column">
          <figure>
          <a href="https://codepen.io/CornedGhost/full/MzeLxB/">
              <img class="survey-img" src="https://lh3.googleusercontent.com/4M1Z2z5ra3usE6iDDgXNoYCQ0W2gHWWSDB06YFT1rguJP7yzRFa0C9pcprtF4tlhzgCzqOaP9u0pG5WxcMwl=w2560-h938-rw" alt="survey">        
            <figcaption>Survey</figcaption></a>
          </figure>
        </div>
      <div class="column">
        <figure>
        <a href="https://codepen.io/CornedGhost/full/eQdpxO/">
            <img class="product-img" src="https://lh4.googleusercontent.com/EM-kTUiwqs6O2O1n9m_RvA0gmd2SrerPEDMuNV94z_kWSekS_CFH0UvV2BCZk_B51W-nT40kk5aqlBjO0NKA=w2560-h938-rw" alt="product">
         <figcaption>Product</figcaption>
          </figure>
          </a>
      </div>
      <figure>
        <a href="https://codepen.io/CornedGhost/full/qQRvxw/">
          <img class="document-img" src="https://lh3.googleusercontent.com/oABwH3Q31lubdQQF4jzgWHjaLZs-PCmeZtc38wKN4gZIfT-Q3tQJFV_wup46U9CvyTTwAczJGspiIEZWZmVk=w2560-h938-rw" alt="document">
          <figcaption>Document</figcaption>
          </a>
          </figure> 
      </figure>
      </section>
      <div class="wander" id="contact">
        <h1 style="underline">Contact Me</h1>
        <br>
        <a id="profile-link" href="https://www.freecodecamp.org/cornedghost" target="_blank">FCC</a>
        <a href="#"><i class="fab fa-facebook-square fa-3x"></i></a>
        <a href="#"><i class="fab fa-facebook-messenger fa-3x"></i></a>
        <a href="#"><i class="fab fa-reddit fa-3x"></i></a>
        </div>
     </div>
    </div>
  </div>
  </div>
        
         
          
    
    <!-- Optional JavaScript -->
    <!-- jQuery first, then Popper.js, then Bootstrap JS -->
    <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
  </body>
</html>

              
            
!

CSS

              
                

  


              
            
!

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