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

Make a Website: HTML Forum

View Course » View Exercise

176 points
6bb77258a6b372664078d42083722af7?s=140&d=retro
Submitted by
amoose
about 3 years ago

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.


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.

3692 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
about 3 years ago

2 Comments

6bb77258a6b372664078d42083722af7?s=140&d=retro amoose about 3 years ago

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

55df2afa95e3787b9200005e_359368177 Judy about 3 years ago

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