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">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="./style.css">
    <title>Sir Ranulph Fiennes</title>
    <link href="https://fonts.googleapis.com/css?family=Special+Elite" rel="stylesheet">
</head>
<body>

<div id="main">
        <h1 id="title">Sir Ranulph Fiennes</h1>
        <h3>British Adventurer &amp Legend </h3>
 <div id="img-div"><img id="image" src="https://www.telegraph.co.uk/content/dam/Travel/leadAssets/24/61/fiennes_2461891a.jpg?imwidth=450" alt="">
    <figure id="img-caption"><cite>"When I sawed the end of my finger off it was in a garden 
            shed on Exmore and my wife was bringing me cups of tea."</cite></figure>
    </div>
   
<section id="tribute-info">
   
 <ol>
     <li>Ranulph Fiennes started his career in the British Army special forces – SAS.  
        And he used his expertise in explosives to make a plan to blow a dam up in his village. 
        The dam was built as a set for the movie ‘Dr. Dolittle’. 
        Which he thought made the village look ugly.</li><br>
     <li>He is the first and only person to circumnavigate the whole planet 
         through both the north and south pole.</li><br>
     
     <li>In 1993 he became the first man to WALK across the whole continent of Antarctica, unsupported. 
         It took him just 93 days.</li><br>
     <li>The next time he tried to do the Antarctic walk solo because you know it’s a walk in the park.</li><br>
     <li>He attempted to walk through the north pole solo too but he suffered from frostbite on his left-hand fingers. 
         He cut his fingers with a hacksaw when the hospital bill was too high.</li><br>
     <li>He suffered a severe heart attack and 4 months later 
         he ran 7 marathons in 7 continents in 7 days for the British heart foundation.</li><br>
     <li> After 2 unsuccessful and unlucky attempts to scale Mount Everest, 
         he finally did it in 2009, as a 65-year-old man.</li><br>
     <li>He doesn’t explore through all these dangers just for fun. He has raised millions of dollars for charities</li><br>
     <li>He also ran a 156-kilometer ultramarathon through the Sahara desert. He was 71 when he accomplished it.</li><br>
     <li>And rightfully, Guinness Book Of World Records has named him “The World’s Greatest Living Explorer”.</li><br>
</ol>

<footer id=>
    <p>For more information and to discover his page turning books.<br><a id="tribute-link" href="http://www.ranulphfiennes.co.uk" target="_blank">See Website.</a></p>
</footer>
</section>

</div>




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

CSS

              
                html, body{
    padding: 0;
    margin: 0;
    font-family: 'Special Elite', cursive;
    font-size: 2.0;
    font-weight: bold;
    line-height: 1.5;
    padding-top: 30px;
    padding-bottom: 10px;
    background: rgb(30,87,153); /* Old browsers */
    background: -moz-linear-gradient(left, rgb(30,87,153) 0%, rgb(32,124,202) 95%, rgb(125,185,232) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgb(30,87,153) 0%,rgb(32,124,202) 95%,rgb(125,185,232) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgb(30,87,153) 0%,rgb(32,124,202) 95%,rgb(125,185,232) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e5799', endColorstr='#7db9e8',GradientType=1 );
    background-size: cover
}

#main{
    margin-top: 50px;
    width: 80%;
    background-color:rgb(250, 250, 250, 0.8);
    margin: 0 auto; 
    border-radius: 5px;
    text-align: center;
    border-radius: 5px;
    padding: 10px;
    
}

#main-title{
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 0;
    
}

h3{
    padding: 0;
    margin: 0px 0px 15px 0px;
}

#img-div{
    width: 60%;
    height: auto;
    
    margin: 0 auto;
    box-shadow: 12px 29px 81px 0px rgba(0,0,0,0.75);
    text-align: center;
    background-color: darkslategrey;

    
}

#image{
    width:100%;
    
    height: auto;
    display: block;
    border-bottom: grey solid 3px;
}

#img-caption{
    color: whitesmoke;
    font-weight: normal;
}


#tribute-info ol{
    text-align: left;
    box-sizing: border-box;
    margin: 20px 10px 20px 10px;
    padding-top: 45px;
    padding-bottom: 10px;
    border-bottom: slategray ridge 2px;

}

footer{
    padding: 10px;
}
              
            
!

JS

              
                
              
            
!
999px

Console