This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Make a Website: HTML Forum

View Course » View Exercise

189 points
Aa09d37ac6b0ed1b6e7053aaa17a6eaf?s=140&d=retro
Submitted by
Whiteangel361
almost 3 years ago

4/9 [Not Resolved] Oops, try again. Add a p element after h1 element.

I keep getting the same error message, 'Oops, try again. Add a p element after h1 element.' . Anyone know what I did wrong?

<!DOCTYPE html>
<html>
  <body>
  <div class="nav">
  <div class="container">
    <ul>
      <li>Joe</li>
    <li>Browse</li>
    </ul>
    <ul>
    <li>Sign Up</li>
    <li>Log In</li>
    <li>Help</li>
    </ul>
    </div>
    </div>

    <h1>Find a place to stay.<h1>
    <p>Rent from people in over 34,000 cities and 192 countries.</p>


  </body>
</html>

3 votes

permalink

Your closing h1 tag is the problem. What you have there currently isn't a closing tag.

3691 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
almost 3 years ago


1 vote

permalink

Check out your <h1>Find a place to stay.</h1>
You didn't close the tag correctly.

Replace the line <h1>Find a place to stay.<h1>
with this one: <h1>Find a place to stay.</h1>

730 points
53eb47319c4e9d5919001779_536700492
Submitted by
Mohammad Arman
almost 3 years ago