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


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


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

More details here:


I have done that!!

this is something else


Could you show me your main.css file please?


yeah sure!!


Thanks -- that helps.

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


And this one is "index.html"


yeah that worked ! :smile:


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.


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