Help With: CSS Styling: 2. Navigation

Oops,try again. Set the color of the a elements inside

to #5a5a5a


Hi @scriptninja49744, that is a link to your error message. Could you post your code here please?

How to post code in this forum.




You've put your new CSS rule in your HTML file. In this course, we are putting all of our CSS in the main.css file.

This thread can explain in more detail.


Tried again it said put the font weight to bold and i already did?


Could you copy/paste (not screenshot), all of the code in your main.css file please?


.nav a {
    color: #5a5a5a;
    font-size: 11px;
    font-weight: bold;
    padding-bottom: 14px;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 14px;
    text-transform: uppercase;


That all looks perfect.

Use the Reset Code button to clear out anything that might be clogging things and then paste your new CSS rule into your main.css file again.


Thanks!!!! Your So Nice :smile:


How Do I Do A CSS Rule That has .Jumbotron?


You start out like this:

.jumbotron {



So then how do i do the height? Like i did when for the main.css like "padding-top"?


Yes, it is very much like that. Did you try yet and get an error or are you just checking?


Yes,I Am Just Checking! No Errors YET


so, which do i need in the jumbotron heading main or index?


In this course, whenever you are writing a CSS rule, you put it in the main.css file.