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

:visited links change all at once??

Hi! I did the "Let's practice CSS selectors" workshop and my answers are very similar to Guil's, I even changed them to match his solution exactly. The third task is to change the color of links in main once they've been visited. The problem is that when I click on one of them, all of the links in 'main' change their color too! Is this normal? It doesn't make sense to me that they would all change if only one has been clicked on. Thanks!!!

1 Answer

Steven Parker
Steven Parker
231,261 Points

It's normal for all the links that point to the same URL to change at once, which is probably the case on the test page.

That's it! Thank you Steven Parker!!