This forum is now read-only. Please use our new forums! Go to forums
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
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>
Popular free courses
- Free Course
Learn SQL
In this SQL course, you'll learn how to manage large datasets and analyze real data using the standard data management language.Beginner friendly,4 LessonsLanguage Fluency - Free Course
Learn JavaScript
Learn how to use JavaScript — a powerful and flexible programming language for adding website interactivity.Beginner friendly,11 LessonsLanguage Fluency - Free Course
Learn HTML
Start at the beginning by learning HTML basics — an important foundation for building and editing web pages.Beginner friendly,6 LessonsLanguage Fluency
2 comments
Thanks a lot!i’ll go through that!
You’re welcome!