Bootstraps:Lesson 5


#1

I'm not sure what I'm doing incorrectly!

Here are the intrustions:

  1. Between the

    ..
    section and the
    section, add a div element with the class "neighborhood-guides"
    Inside
    ..
    , add a div element with the class "container"
    Inside
    ..
    , add a h2 element that says "Neighborhood Guides", and a p element that says "Not sure where to stay? We've created neighborhood guides for cities all around the world."
  2. Next let's set up a row with three columns, just like the Learn More section.

  3. After the closing

    tag, add a div element with the class "row"
    Then inside
    ..
    , add three div elements with the class "col-md-4".

And Here is my code:

<!DOCTYPE html>
<html>


<ul class="pull-left">
<ul class="pull-right">
  <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>
          <li><a href="#">Name</a></li>
          <li><a href="#">Browse</a></li>
        </ul>
        <ul>
          <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>
        <a href="#">Learn More</a>
      </div>
    </div> 

    <div class="learn-more">
	  <div class="neighborhood-guide">
	  <div class="container">
	  
	  <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">
	  </div>
		<div>
	      <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></p>
		  </div>
	    </div>
	  </div>
	</div>
  </body>
</html>

#2

The class for your div is "neighborhood-guide". It needs an 's' on the end: "neighborhood-guides".


#3

A post was split to a new topic: 7. Neighborhood guides: Images 2