This forum is now read-only. Please use our new forums! Go to forums

0 points
Submitted by Whiteangel361
over 9 years

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>

Answer 53d9a8a8631fe979f9000931

3 votes

Permalink

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

points
Submitted by Judy
over 9 years

Answer 53ed043f7c82caf9b500002b

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>

points
Submitted by Mohammad Arman
over 9 years