Struck with an error on 5 :neighbourhood grid.please help me


#1

check where is the error?
here is my coding;

<!DOCTYPE html>
<html>

  <head>
    <link href="http://s3.amazonaws.com/codecademy-content/courses/ltp/css/shift.css" rel="stylesheet">
    
    <link rel="stylesheet" href="http://s3.amazonaws.com/codecademy-content/courses/ltp/css/bootstrap.css">
    <link rel="stylesheet" href="main.css">
    
  </head>

  <body>
    <div class="nav">
      <div class="container">
        <ul class="pull-left">
          <li><a href="#">Name</a></li>
          <li><a href="#">Browse</a></li>
        </ul>
        <ul class="pull-right">
          <li><a href="#">Sign Up</a></li>
          <li><a href="#">Log In</a></li>
          <li><a href="#">Help</a></li>
        </ul>
      </div>
    </div>

    <div class="jumbotron">
     <div class="neighborhood-guides">
      <div class="container">
     
        <h1>Find a place to stay.</h1>
        <p>Rent from people in over 34,000 cities and 192 countries.</p>
        <h2>Neighborhood Guides</h2>
        <p>Not Sure where to stay?We've created neighborhood guides for cities all around the world</p>
        <div class="row">
        <div class="col-md-4">
        <a href="#">Learn More</a>
     </div>
     </div>
     </div>
     </div>
     
   

    <div class="learn-more">
	  <div class="container">

		<div class="col-md-4">
	     
			<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="col-md-4">
			<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 class="col-md-4">
			<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>
		  </div>
		  </div>
	    </div>
	  </div>
	</div>
  </body>
</html>

#2

Im stuck at this page too :frowning:


#3

You've stuck your neighborhood-guides div INSIDE the jumbotron instead of AFTER it.

Your code:

<div class="jumbotron">
 <div class="neighborhood-guides">
  <div class="container">
 
    <h1>Find a place to stay.</h1>
    <p>Rent from people in over 34,000 cities and 192 countries.</p>
    <h2>Neighborhood Guides</h2>
    <p>Not Sure where to stay?We've created neighborhood guides for cities all around the world</p>
    <div class="row">
    <div class="col-md-4">
    <a href="#">Learn More</a>
 </div>
 </div>
 </div>
 </div>

What the plan is:

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

<div class="neighborhood-guides">
  <div class="container">
  ... your neighborhood-guides code goes in here
  </div>
</div>

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


#4

again i m struck in an error.

<!DOCTYPE html>
<html>

  <head>
    <link href="http://s3.amazonaws.com/codecademy-content/courses/ltp/css/shift.css" rel="stylesheet">
    
    <link rel="stylesheet" href="http://s3.amazonaws.com/codecademy-content/courses/ltp/css/bootstrap.css">
    <link rel="stylesheet" href="main.css">
    
  </head>

  <body>
    <div class="nav">
      <div class="container">
        <ul class="pull-left">
          <li><a href="#">Name</a></li>
          <li><a href="#">Browse</a></li>
        </ul>
        <ul class="pull-right">
          <li><a href="#">Sign Up</a></li>
          <li><a href="#">Log In</a></li>
          <li><a href="#">Help</a></li>
        </ul>
      </div>
    </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>
        <h2>Neighborhood Guides</h2>
        <p>Not Sure where to stay?We've created neighborhood guides for cities all around the world</p>
       
        <div class="row">
        <div class="col-md-4">
        <a href="#">Learn More</a>
     </div>
     </div>
    
      <div class="neighborhood-guides">
    <div class="learn-more">
	  <div class="container">

		<div class="col-md-4">
	     
			<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>
		  <div class="col-md-4">
			<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 class="col-md-4">
			<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>
		  </div>
		  </div>
	    </div>
	 
  </body>
</html>

#5

You still have a lot of neighborhood-guides content in your jumbotron. You really need to clear that up first.


#6

my code is this below but its still having error anyone can advise what went wrong? many thanks

   <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>
         <a href="#">Learn More</a>
        <h2>Neighborhood Guides</h2>
<p>Not sure where to stay? We've created neighborhood guides for cities all around the world</p>
        </div>
      </div>
    </div> 

    <div class="learn-more">
	  <div class="container">
	  <div class="row">
	      <div class="col-md-4">
			<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 class="col-md-4">
			<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 class="col-md-4">
			<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>
	    </div>
	  </div>
	</div>

#7

Hi @vacxnts,

You have three closing tags here:

    </div>
  </div>
</div>

Which opening tags do each of those belong to?

Also, this is exercise 5/14 that we are talking about and it is asking us to add code to our neighborhood-guides div, but I don't see a neighborhood-guides div in your code sample.


#8

Thank you @albionsrefuge.... you have save my day......