Part 8/9 insert a div into another div


#1





<ul>
  <li>Home
  <li>Locations
</ul>

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


<div class="cointainer">


<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>
<h3>Host</h3>


<p>Renting out your unused space could pay your bills or fund your next vacation.</p>


Learn more about hosting



Trust and Safety


From Verified ID to our worldwide customer support team,we've got your back.



Learn about trust at Airbnb






#2

I am getting the error "Oops, try again. Add a div with the learn-more class, like this:

..
. " Please help me out with the right code so that I can compare and rectify my errors.

#3

The second container class, has to be a div class="learn-more", and not a container.
(sorry for my bad english)


#4

can you provide a screenshot or the code for the same ?


#5

here you go


#7

Oops, try again. Place the

..
inside the
..
.

#8

place what inside what?


#9


#10

can you try type the same thing as i wrote in my code


#11

I inadvertently left out the hyphen in "learn-more". Finally, after reviewing it about 100 times, I realized my error.


#12

wolf, for every

you have to 'close it' with a
. check lines 32-33. do you have one too many
?

I don't think you have to close the

until the end. At the end (past line 41 in example above), 'wrap up' what you've entered with a
.

does that make sense?


#13

in your reply i see a lot of dots, i don't know what you want to say


#15

did the same as you did ! Is there just one "< div >" at the end ? the screenshot you posted doesn't show full code.


#16

yes at the end there is just one


#17

closing div ( /div )