Help With: CSS Styling: 2. Navigation


#1

http://prntscr.com/92w6dk
Oops,try again. Set the color of the a elements inside

..
to #5a5a5a

#2

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

How to post code in this forum.


#3

here! http://prntscr.com/92w8kz


#4

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.


#5

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


#6

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


#7

.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;
    }

#8

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.


#9

Thanks!!!! Your So Nice :smile:


#10

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


#11

You start out like this:

.jumbotron {

}

#12

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


#13

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


#14

Yes,I Am Just Checking! No Errors YET


#15

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


#16

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