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

Make a Website: HTML Forum

View Course » View Exercise

239 points
55629f93d3292f83700007b4_739661486
Submitted by
Chad Padgett
about 2 years ago

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

No matter what I do, I can't get it to accept my code.

It just keeps saying
Oops, try again. Add an h1 element after the closing tag.

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

0 votes

permalink

I've had problems similar to this in the nature that I don't see why it allowed me to proceed from a previous screen if this was wrong.

In your < div class > for "nav" and "container, you have a capital D, make it lower case in both instances and that should fix it...as to why that wasn't caught on a previous page. I'd also like to know. :) Let me know if that does not work.

94 points
932de3751173970e6e92e2518c40520e?s=140&d=retro
Submitted by
JustBill
about 2 years ago

2 Comments

55629f93d3292f83700007b4_739661486 Chad Padgett about 2 years ago

That worked. Thank you so much.

932de3751173970e6e92e2518c40520e?s=140&d=retro JustBill about 2 years ago

Sure, no problem! Glad to help!