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 trialChristian Pelaez-Espinosa
1,316 PointsNav text not changing to white
nav a, nav a: vistied { color: #fff; }
not working
4 Answers
klaudiarozgonyiova
10,711 PointsHi,
You have a typo in your code. It's "visited" not "vistied" ;)
Kireeti K
9,675 PointsHello Christian, Is anchor tag inside <nav> element?
Christian Pelaez-Espinosa
1,316 PointsThanks!!! Silly me
klaudiarozgonyiova
10,711 PointsNo problem, happens to all of us :)
Jason Gerlach
4,415 PointsI am having a similar problem but mine is just not changing
nav a, nav a: visited { color:#fff; } is my css i checked my html and it is
<nav> <ul> <li><a href="index.html">Portfolio</a></li> <li><a href= "about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> please tell me if this looks wrong or if i must look somewhere else to solve the problem
Alistair Jenkins
16,761 PointsHi Jason.
I had the same problem. Have you tried deleting the space between the colon and 'visited'? This worked for me. I guess this is how pseudo-classes are parsed.
I hope this helps! Alistair
Kireeti K
9,675 PointsKireeti K
9,675 PointsNice Observation