What's wrong with Jumbotron p code?


#1

This is my code.

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

.jumbotron h1 {
        color: #fff;
        font-size: 48px
        font-weight: bold;
}

.jumbotron p {
    color: #fff;
    font-size: 48px;
}

doesn't work around the jumbotron p area. doesn't accept it but it's right.


#2

You're missing a semicolon (;) after your font-size Attribute in your jumbotron p selector.

-EDIT-
Also missing a closing curly bracket (}) at the end of your jumbotron selector.

-EDIT 2-
And missing a period/full stop (.) before jumbotron h1


#3

tried all of that, and still doesn't work. I'm pretty sure it's a bug.


#4

Please post your updated code.


#5

just updated the code


#6

hello, i am also facing the same problem and i don't know where i have gone wrong.


#7

Hi @arcplayer58564, it keeps things easier to work with if you start a new thread. If you don't mind doing that, you should include:

  • your exercise name/number
  • all of your CSS code
  • the error message that you are seeing.