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

0 points
Submitted by amoose
over 9 years

4/9 [resolved] Add an h1 element after the closing </div> tag."

This is what my code looks like:

<!DOCTYPE html>
<html>
  <body>
  <Div class="nav">
  <Div class="container">
    <ul>
      <li>My name</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>

I have examined the opening and closing tags for typos and tried indenting the code? I’ve also tried reloading the exercise and keep getting the same error. Any help would be appreciated.

Answer 5408564a9c4e9d32c20011d9

4 votes

Permalink

The code checker isn’t happy about those capital “D”s on your <Div .... I don’t think the capital is actually wrong but I think it falls into the “best practices” category, you won’t often see that occurring if you have a look at other people’s code.

points
Submitted by Judy
over 9 years

2 comments

amoose over 9 years

That worked!!! Thank you so much! Its so weird that the error message had nothing to do with the error. =)

Judy over 9 years

Great! It’s a learning process, this code checking thing, people keep coming up with new, interesting, ways to break it :)