Where do I put ..nav a CSS style in "index.html"?


#1

.nav a {
color: #5a5a5a;
font-size: 24px;
}


#2

You don't put it in index.html, you put all of your CSS code in main.css.

More details here:


#3

I have done that!!


this is something else


#4

Could you show me your main.css file please?


#5

yeah sure!!


#6

Thanks -- that helps.

You have included some HTML tags in that CSS file. Once you remove those then you should be fine.


#7

And this one is "index.html"


#8

yeah that worked ! :smile:


#9

In that one you need to remove that CSS rule.

In this set of exercises, all HTML code goes in index.html and all CSS code goes in main.css.


#10

thank you :smile: this was really helpful :smile:


#11