.."."/> .."." /> .."." /> .."." /> .."." />

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

Make a Website: HTML Forum

View Course » View Exercise

181 points
9dde2334db13674a54aa85a0adae86ab?s=140&d=retro
Submitted by
庄梓君
over 3 years ago

6/10 [resolved] Wrap the h1 and p elements with <div class="container>..</div>".

<!DOCTYPE html>
<html>
  <body>
    <div class="nav">
    <div class="comtainer">
    <ul>
        <li>Toria</li>
        <li>Browse</li>
    </ul>

    <ul>
        <li>Sign Up</li>
        <li>Log In</li>
        <li>Help</li>
    </ul>
    </div>
    </div>
    <div class="jumbotron">
    <div class="comtainer">
    <h1>Find a place to stay.</h1>
    <p>Rent from people in over 34,000 cities and 192 countries.</p>
    </div>
    </div>
  </body>
</html>

This is my answer. But it failed to pass. And it shows that "Oops, try again. Wrap the h1 and p elements with ..".
Can somebody tell me my mistake? Thank you.


0 votes

permalink

It looks like just a small typo: comtainer should be container

3691 points
55df2afa95e3787b9200005e_359368177
Submitted by
Judy
over 3 years ago

2 Comments

56059c50d3292f8e7a00064f_684478859 Sarah over 3 years ago

Note that you made that typo twice :-)

9dde2334db13674a54aa85a0adae86ab?s=140&d=retro 庄梓君 over 3 years ago

Thank you!