5. Jumbotron: Paragraph


#1

Hey guys, I am having the same issue.

My code is as follows:
.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;
}

It is giving me the same error message, but I am failing to see what I have missed. Can anyone help?


CSS Styling - 5. Jumbotron: Paragraph
CSS Styling - 5. Jumbotron: Paragraph
#2

No worries, I figured out that I did not close off my CSS for background image. :confused:


#3

what did you do to get it to stop saying that message


#4

You may have made the same mistake that user pharaoh_jai and I both made. You can see that in pharaoh's above-posted code, when he wrote the css code to style his background image, he forgot to close it off with a final "}"

.jumbotron {
height: 500px;
background-image:url('https://goo.gl/04j7Nn')
right here is where the final curly bracket should be

Without that closing curly, the rest of the lines of css you've written won't run. I'm getting into the habit of reading back over what I've written to make sure I don't miss any curly brackets, or semi-colons, or hashs, etc.