3. It won’t accept my code


#1

Hi everyone!
I came up with the same code as well and I am still having trouble submitting.
The website keeps telling me that I need to change the height.
Here is what I have done so far:
1) reset the code
2) try switching the "height" and "background image" line so then the height line is the first line under .jumbotron and the background image line is the second.
3) added the CSS rule at the bottom of div class jumbotron line instead of the top.

Anyway, here is what I have so far:

.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;
}
    <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>
    
    .jumbotron {
        background-image: url('https://goog.gl/04j7Nn')
        height: 500px;
    }
     <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>

Any help is so much appreciated!
Thanks guys!


3. It won't accept my code
3. It won't accept my code
#2

You don't seem to have found your main.css file yet. In this course, all of your HTML code is written into your index.html file and all of your CSS code is written in to your main.css file.

You can read more about that here:


#3

Thank you so much!!!! :smiley: :smiley: :smiley:


#4

I tried some of the things but it still isn't excepting my code I created a new topic for something similar to this.