Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS How to Make a Website Customizing Colors and Fonts Use Color in CSS

Changing the colour of the anchors in nav.

I have added the code as Nick does to color the anchor elements in nav and my elements remain green. Can someone help point out what I have done wrong? My code looks like this:

nav { background: #599a68; }

nav a, nav a:visited { color: #fff: }

Thanks! chris

1 Answer

Hi chris,

On the value for color you have a colon...

Just needs changing to a semi colon that's all...

Hope this helps!

Craig

Thanks Craig. More proof that a lack of coffee is detrimental to one's eyesight. Appreciate the very quick response.

No problem, on that note id better stick the kettle on ......