For some reason I can't pass the 5th step in CSS Styling. Please help?


#1

When I try to save and submit the code it says I need to change the color to #ff which I already did and I am 100% sure I did everything right. What do I do? Is it a glitch maybe?


#2

The hex code for white is #FFFFFF which it probably wants. If that doesn't resolve your problem, please post your code and I will help you! Thanks!


#3

Make a new CSS rule that selects the p element inside

..
.
Set the color to #fff
Set the font-size to 20px

My code:
On index.html


On main.css

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

and as you can assume, it didn't work :frowning:


#4

The way I would do it is:

.jumbotron {
    color: #FFFFFF;
    font-size: 20px;
}

Thanks!


#5

It didn't work but thanks anyway


#6

Could you post all of your CSS please? There may be a problem earlier on.


#7

I wrote this code

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


#8

That's good because that is the correct code. @rmr_ has used the same code but is getting an error. We are now trying to find out if there is something else in their CSS file that could be affecting that rule.