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

problem with a:visited pseudo class

main a:visited { color: pink; } i wrote this and i noticed that the links took the color pink even before i clicked on them , can you explain why do i have this problem. i didn't use the color pink in any other place just to make sure it isn't because of another selector.

1 Answer

Very most likely that is because you clicked them before and it is still in memory in the browser.

These steps should clear the memory and then it will be fresh:

https://yourbusiness.azcentral.com/clear-links-visited-pages-6860.html

Thank you so much that was it.

Great... Happy, I could help. :-)