This forum is now read-only. Please use our new forums! Go to forums

0 points
over 8 years

7/9 Why They say this is wrong?Please help me!Thank a lot!

<!DOCTYPE html>
<html>
  <body>

  <div class = "nav">
    <ul>
      <li>Sakunda</li>
      <li>Browse</li>
    </ul>
    <ul>
    <li>Sign Up</li>
    <li>Log In</li>
    <li>Help</li>
    <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>
    </p>
    </div>
    
    </ul>
    </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>

    <h3>Travel</h3>
    <p>From apartments and rooms to treehouses and boats:Stay in uniqe spaces in 192 countries</p>
<p>	
<a href="#">see how to travel on Airbnb.</a>
</p>

    </div>

  </body>
</html>

Answer 56168b1986f55253b2000274

1 vote

Permalink

HI sakunda hapuarachchi,

You have some things in unexpected places there.

Keeping your matching open/close tags at the same indent level will help you see what you are building.

Here is the overall plan that you are aiming for:

<!DOCTYPE html>
<html>
  <body>

    <div class="nav">
      <div class="container">
      ... your nav code goes in here
      </div>
    </div>

    <div class="jumbotron">
      <div class="container">
      ... your jumbotron code goes in here
      </div>
    </div>
    
    <div>
      ... your Travel code goes in here
    </div>

    <div>
      ... your Host code goes in here
    </div>

    <div>
      ... your Trust code goes in here
    </div>

  </body>
</html>
points
Submitted by Judy
over 8 years

2 comments

sakunda hapuarachchi over 8 years

Thanks a lot!i’ll go through that!

Judy over 8 years

You’re welcome!