Can't change colour in my HTML p element in CSS


#1

Title explains this post


#2

p {
    color: [whatever colour you want];
}

#3

I know, but I am only trying to change it in my jumbotron element


#4

.jumbotron p {
    color: [whatever colour you want];
}

#5

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

The colour is not changing to #fff


#6

You need to change the bracket at the end to a closing bracket, but other than that it should work.


#7

For some reason, the font size changed, but not the colour.
(btw thanks for the help)


#8

Try changing #fff to #ffffff.


#9

Now I have everything right, but the word jumbotron is not turning red (regeistering).


#10

Try some Google searches.


#11

Do you mean in the code editor? If so, that might be because you didn't close your .nav a { ... } rule properly.