CSS Styling - 7. Learn More


#1

Error : Oops, try again. Set the background-color of <div class="learn-more">..</div> to #f7f7f7

main.css

.nav a{
    color: #5a5a5a;
    font-size:  11px;
    font-weight: bold;
    padding-top:  14px;
    padding-bottom: 14px;
    padding-left: 10px;
    padding-right: 10px;
    text-transform: uppercase;
}

.jumbotron {
    background-image: url('https://goo.gl/04j7Nn');
    height: 500px;
}

.jumbotron h1{
    color: #fff;
    font-size: 38px;
    font-weight: bold;
    font-family: 'Shift', sans-serif;
}

.jumbotron p{
    colour: #fff;
    font-size: 20px;
}

.learn-more {
    background-colour: #f7f7f7;
}

Index.html

<!DOCTYPE html>
<html>
 <head>
  <link href="http://s3.amazonaws.com/codecademy-content/courses/ltp/css/shift.css" rel="stylesheet">
  <link rel="stylesheet" href="main.css">
 </head>
 
 <body>
  <div class="nav">
  
   <div class="container">
    <ul>
     <li><a href="#">Airbnb logo</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>
   </div>
  
  </div> 
  <div class="learn-more">

   <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>
 </body>
</html>

#2

CSS uses US spelling so you'll need to switch that to color.


#3

Thanks bro. That was a silly mistake.


#4

12 posts were split to a new topic: 7. Learn More


#16

A post was split to a new topic: Error : Oops, try again. Set the background-color of