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

              
                <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

<!DOCTYPE html>
<html>
<body>
  <main id="main">
      <h1 id="title">Steph Davis</h1>
      <div>Female Rock Climber</div>
    <hr>
    <div id="img-div">
      <img id="image" src="https://stephdavis.co/wp-content/uploads/2017/02/steph-fletch-truck.jpg" alt='Steph Fletch Truck' class="center">
      <div id="img-caption">
        Steph and her dog, Fletch, hang out in the back of her Ford Ranger truck.
      </div>
    </div>
  <div id="tribute-info">
      <p>Steph Davis is a rock climber, base jumper, and wingsuit flyer. Below is a list of her most notable accomplishments:
        <ul>
          <li>Second woman to free climb El Capitan in one day</li>
          <li>First woman to free climb the Salathė Wall</li>
          <li>First female ascent of Torre Egger</li>
          <li>First woman to free solo The Diamond on Long's Peak</li>
          <li>First woman to solo 5.11+ grade</li>
          <li>First woman to summit Fitz Roy in Patagonia</li>
          <li>First woman to summit all 7 major peaks of the Fitzroy Range</li>
        </ul>
      </p>
    <p>For more information on Steph's life and career, please visit <a id="tribute-link" href="https://en.wikipedia.org/wiki/Steph_Davis" target="_blank">here</a>.</p>
    </div>
  </body>
</html>
              
            
!

CSS

              
                @import url("https://fonts.googleapis.com/css?family=Jura");

body {
  background-color: #FAECE6;
}

main {
  background-color:#B38167;
  padding: 10px;
  border: solid;
  border-radius: 5px;
}

h1 {
  font-family: 'Jura', Times New Roman;
  text-align: center;
  font-size: 90px;
  color: #FAECE6;
}


div {
  font-family: 'Jura', Times New Roman;
  text-align: center;
  font-size: 30px;
  color: #FAECE6;
}

img {
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  padding: 15px;
  
}

#img-caption {
  font-family: Times New Roman;
  font-size: 18px;
  color: #FAECE6;
  margin: -10px;
}

#tribute-info {
  margin: 40px;
  margin-left: 60px;
  margin-right: 60px;
  background-color: #EED1BA;
  color: #5B392B;
  border: solid;
  border-radius: 5px;
  border-color: #EED1BA;
}
 
p {
  font-family: 'Jura', Times New Roman;
  font-size: 22px;
  text-align: center;
}

li {
  font-size: 20px;
  list-style-type: none;
  line-height: 1.6;
}

#tribute-link {
  font-size: 20px;
}
              
            
!

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