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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ add another resource


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


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.


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.


                <script src=""></script>

<!Doctype html>
<div id="main">
<div id="title">
     <title> Bret Hart </title>

  <nav id="navbar">
    <nav class="nav-div">
           <ul class="nav-ul"> 
            <li class="nav-li"><a href="#Information">Information</a></li>
            <li class="nav-li"><a href="#How to contact or read more">How to contact or read more</a></li>
   <h1>Bret Hart</h1>
   <h2> Professional Wrestler</h2>
 <div id="img-div">
  <img id="image">
    <img class="smaller-image"   src="" alt="bret hart signing">                                          
          <div id="tribute-info">
    <h3> Bret Hart at a signing session </h3>
     <div id="img-caption">
       <div id="Information">
 <div style="width:800px; margin:0 auto;">
    <li> 5 time wwf champion </li>
    <li> 2 time wwf intercontinental champion </li>
    <li> 2 time wwf tag team champion </li>
     <li> His nickname "the hitman" is taken from professional boxer Thomas "hitman" Hearns</li>
    <li>His slogan or catchphrase is "the best there is, the best there was, and the best there ever will be"</li>
         <li>Also, "the excellence of execution", made most known by gorilla monsoon</li>
     <li>His tag team name is the Hart Foundation, and their nickname is "the pink and black attack"</li>
  <ol><h6>His famous family members are:</h6>
         <li>Stu Hart</li>
         <li>Helen Hart</li>
         <li>Owen Hart</li>
         <li>Diana Smith (Hart), married to the British Bulldog, Davey boy Smith</li>
     <li><strong>1994</strong> Won the title at wrestlemania 10</li>
  <h4>From Calgary, Alberta Canada, from the famous Hart family, he's Bret "the hitman" Hart. Stu Hart is his father, and his family ran stampede wrestling in canada, before joining the wwf in the 1980s. He has 12 brothers and sisters in total, the most famous is another wrestler, Owen. etc </h4>
  <a  id="tribute-link" href="" target="_blank">Bret Hart's Wikipedia page</a>.   
     <a id="tribute-link" href="" target="_blank"></a>.
       <div id="How to contact or read more" class="bottom">
  <h5>If you would like to read more about Bret Hart, here are two pages to help you learn more. <a href=""  
>Bret Hart's Wikipedia page</a> or his personal website <a href=""></a> </h5>



  width: 100vw;
  position: absolute;
  left: 0px;
  background-color: pink;
  top: 0px;
  height: 40px;
nav li{
  display: inline;
  margin: 30px;
  font-size: 20px;
nav ul {text-align: right;}
.nav-li a:hover {  
    color: black;
    transition: color 0.5s;

h1 {
  font-size: 50px;
  text-align: center;
.smaller-image {
  width: 250px;

h2 {
  font-size: 30px;
  font-family: monospace;
  text-align: center;

h3 {
  font-size: 20px;
   text-align: center;
div { text-align: center;}
ol {text-align: left;}
ul {text-align: left;}
ul2 {text-align: left;}
h4 { 
font-size: 20px;
h5 { 
 font-size: 20px;
  text-align: center;
  background-color: pink;

   a:hover {
  color: hotpink;
.bottom {

  background-color: pink;
h6 {text-align: left;
    font-size: 20px;
    font-weight: normal;
#image {
  max-width: 100%;
  display: block;
  height: auto;
  margin-left: auto;
  margin-right: auto;



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

  - Select the project you would 
    like to complete from the dropdown 
  - Click the "RUN TESTS" button to
    run the tests against the blank 
  - 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.