Stuck on Jumbtron Paragraph Please Help


#1

I have attached my code and have looked through the form previous topics nothing working for me. Any help would be great! Thank You!

index.html

<!DOCTYPE html>
<html>
  <head>
    <link href="main.css" rel="stylesheet">
  </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>
		<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>

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 {
    height: 500px;
    background-image: url('https://goo.gl/04j7Nn')
    
    .jumbotron h1 {
        color: #fff;
        font-size: 48px;
        font-weight: bold;
}
.jumbotron p {
  color: #fff;
  font-size: 20px;
}

#2

Can you list the problem you facing.


#3

It is problem 5 in making a website CSS. Thank you

Nicely done! Now that we can see the h1 element text, let's style the p element so that we can see its text too.

Instructions

  1. Make a new CSS rule that selects the p element inside
    ..
    .
  2. Set the color to #fff
  3. Set the font-size to 20px

#4

Look at your css file .jumbotron you missing "}" it should fix the problem.


#6

I am not sure where exactly the additional } should go? is it an additional one at the end?


#7

on line 10 from the bottom exactly before ".jumbotron h1 {"
In your main.css


#8

Thank you so much!! I got it to work :smile:


#9

No problem. Your welcome :grinning: