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 CSS Basics (2014) Basic Selectors Pseudo-Classes

Glassbear CommV
Glassbear CommV
5,195 Points

Is there a way to reset links on a page once they've been visited?

I was wondering if there's something that can be added to the html or the css that makes the visited links reset when you refresh the page. Does anyone know if this is possible?

I found the only way of doing it without a fair bit of programming would be to close your website bowser, open a new one, get to your history and delete the lot. Close that browser and reload your webpage again. I came across this awhile ago and although doesn't give us "code" to do it, it does work.

1 Answer

I don't beleive so. I think the browser keeps track of the sessions. So you would have to clear cookies or open the website in incognito (ctrl + shift + n in Chrome) .