5. Wrap with a div (I can't seem to get out of this)


#1

I have no idea what I'm doing wrong.

Here's my code:
<!DOCTYPE html>
<html>
  <body>
<div class="nav">
<div class="container">
	<ul>
	  <li>Ximperiah</li>
	  <li>Browse</li>
	</ul>
<ul>
</div>
	</div>
<div class="jumbotron">
<div class="container">
	  <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>
</div>
</div>
  </body>
</html>

Please, help.


#2

I cannot see your code please insert html as code


#3
<!DOCTYPE html>
<html>
  <body>
<div class="nav"> 
	<ul>
	  <li>Ximperiah</li>
	  <li>Browse</li>
	</ul>
<ul>
</div> 
<div class="container">
	  <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>

It getting this error: Oops, try again. Place your h1 element and p element in between <div class="container">..</div> tags.

I already reset the codes endless times, I don't get what I'm doing wrong!!


#4

this needs to be inside the <div class="container"> </div>
so add it in after the div tag and before your un-ordered list

You have your ul tag under your div nav move it to before <li>Sign Up</li>


#5

A post was split to a new topic: Wrap with a div