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 Layout Lists

Daniel Politz
Daniel Politz
6,338 Points

Why colors of links don't revert to original a:link color after closing and reopening the index.html?

Curious as to why the colors in this 'Lists' lessons of the links do not return to original orange color. I clicked all of the links, they turn lightblue as they should but they do not return after refreshing or closing and then reopening the index.html file in a webpage.

/* Pseudo-classes ------------------ */

a:link {
  color: rgb(255, 169, 73);
  text-decoration: none;
}

a:visited {
  color: lightblue;
}

a:hover {
  color: rgba(255, 169, 73, .4);
}

a:active {
  color: lightcoral;
}

2 Answers

Wayne Priestley
Wayne Priestley
19,579 Points

Hi Daniel,

You will have to clear your browser cache for things to return to their original state.

Hope this helps.

Daniel Politz
Daniel Politz
6,338 Points

Thanks for prompt reply. Just wanted to makes sure it wasn't something missing from the code, because I couldn't identify it for the life of me.