2. Navigation 2 - it keeps telling me put 3 li in the ul


#1

<!DOCTYPE html>
<html>
  <body>
  
	<ul>
	  <li>Sign up</li>
	  <li>Log in</li>
	  <li>Help</li>
	</ul>
	
  </body>
</html>

what is my mistake here ? it keeps telling me put 3 li in the ul


8. Where is my mistake?
#2

The mistake is that you've removed your first ul element. The code checker is expecting to find two of them there now.


#3

ohhh kk thnx :grinning:


#4

<!DOCTYPE html>
<html>
<body>

<div class="nav">
<div class="container">
<ul></ul>
<ul>
<li>Sign up</li>
<li>Log in</li>
<li>Help</li>
</ul>
</div>

<div class="jumbotron">
<div class="Container">
<h1>Find a place to stay</h1>
<p>Rent from people in over 34,00 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>
</p>
</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>

whats rong?


#6

2 posts were split to a new topic: 1. Navigation 1 - I am having probs


#7

Exercise 8 is expecting you to wrap your Travel, Host and Trust code all in one set of learn-more/container divs, not a set for each.


#8

<!DOCTYPE html>
<html>
<body>

<div class="nav">
<div class="container">
<ul></ul>
<ul>
<li>Sign up</li>
<li>Log in</li>
<li>Help</li>
</ul>
</div>

<div class="jumbotron">
<div class="Container">
<h1>Find a place to stay</h1>
<p>Rent from people in over 34,00 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>
<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>
</p>
</div>
<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>

it still doesnt work


#9

This should be "learn-more"


#10

yayay yupp that worked