This forum is now read-only. Please use our new forums at discuss.codecademy.com.

Make a Website: Bootstrap Forum

View Course » View Exercise

147 points
4c602193006c6944618152c4470a5a1e?s=140&d=retro
Submitted by
Justin Pbuffalo
about 2 years ago

5/14 Why won't this work?

<div class="jumbotron">
  <div class="container">
   <div class="col-md-4">
    <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="neighborhood-guides">

Neighborhood Guides

<div class="row">
  <div class="col-md-4">
  </div>

  <div class="col-md-4">
  </div>

  <div class="col-md-4">
  </div>
</div>
<div class="learn-more">

And it says Make sure the .. is after the jumbotron. My neighborhood guides part is clearly after the jumbotron part.


0 votes

permalink

Hi Justin,

the issue is you havent closed the jumbotron section correctly. There is 3 divs you need to close, jumbotron, container and col-md-4 and so far you are only closing 2 of them. If you add a </div> above the nighborhood-guides section, it should work (although I think you should just remove the col-md-4 div as I dont think it is required)

Thanks

Keith

862 points
559668bb9113cb80140006e5_658289431
Submitted by
Keith Light
about 2 years ago