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

HTML How to Make a Website Customizing Colors and Fonts Use Color in CSS

Shoaib Ali
seal-mask
.a{fill-rule:evenodd;}techdegree
Shoaib Ali
Front End Web Development Techdegree Student 969 Points

nav element links.

My nav links still remain white without using the pseudo class. Although it works out fine, i would like to know where did i make a different turn?

Konrad Pilch
Konrad Pilch
2,435 Points

Hmm, unfortunately we can't see your code, so we can't tell. We have no idea what you were thinking either. If you can post something more to it, like the code and tell us what you were doing? :)

Shoaib Ali
seal-mask
.a{fill-rule:evenodd;}techdegree
Shoaib Ali
Front End Web Development Techdegree Student 969 Points

a{ color: #bb4dfc; }

header{ background: #bb4dfc; border-color: #59d5f8; }

h1, h2{ color: #fff;

}

nav{ background: #59d5f8; }

nav a{ color: #fff; }

THIS LAST CODE (ME): nav a{ color: #fff; }

THE VIDEO DID THIS:

nav a, nav a:visited { color: #fff }

1 Answer

Konrad Pilch
Konrad Pilch
2,435 Points

Okay, so you visited the links, and visited links, or clicked links, will be white. #fff means white.

visited = visited link and 'a' is anchor or link so when the 'a' is visited 'clicked' it will change it's color to white #fff.

Have fun with this site http://www.w3schools.com/cssref/sel_visited.asp