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 trialShoaib Ali
Front End Web Development Techdegree Student 969 Pointsnav 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?
Shoaib Ali
Front End Web Development Techdegree Student 969 Pointsa{ 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
2,435 PointsOkay, 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
Konrad Pilch
2,435 PointsKonrad Pilch
2,435 PointsHmm, 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? :)