Wrap with a div


#1

A message keeps popping up saying "Oops, try again. Add a div with the learn-more class, like this: <div class="learn-more">..</div>."

I am totally confused, I just don't understand what I am doing wrong.

Here's my code:

<!DOCTYPE html>
<html>
  <body>
 <div class="nav"
    <div class="container"
        <ul>
            <li>Stacey</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="container">
        <h1>Find a place to stay</h1>
        <p>Rent from people in over 34,000 cities and 192 countries</p>
    </div>
</div>
<div class="learn more">
    <div class="container">
        <div>
            <h3>Travel</h3>
            <p>From apartments and rooms to treehouses and boats: stay in unique spaces in 192 countries.</p>
            <p>
                <a href="#">See how to travel on Airbnb</a>
            </p>
        </div>
    </div>
</div>
<div class="learn more">
    <div class="container">
        <div>
            <h3>Host</h3>
            <p>Renting out your unused space could pay your bills or fund your next vacation.</p>
            <p>
                <a href="#">Learn more about hosting</a>
        </div>
    </div>
</div>
<div class="learn more">
    <div class="container">
        <div>
            <h3>Trust and Safety</h3>
            <p>From Verified ID to our worldwide customer support team, we've got your back.</p>
            <p>
                <a href="#">Learn about trust at Airbnb</a>
        </div>
    </div>
</div>
  </body>
</html>

Please help


#2

Thank you for fixing your post. There appears to be no meta data (<head></head>, or did you leave that out?

Can you please post a link to the lesson?


#3

https://www.codecademy.com/courses/web-beginner-en-ez2n4/0/8?content_from=make-a-website%3Ahtml-elements


#4

I still don't understand


#5

There should be one learn-more div with one container div. Remove those four lines for the second and third instance.


#6

No problem, now that I look at the lesson. I see that the HEAD section was left out on purpose by the author.


#7

Thank you so much for your help.