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 trialamandamacfadden
1,543 PointsPseudo-class selector problem.
I'm stuck passing task 2 of 3 of the Code Challenge in the Pseudo-class Selector section of the CSS Basics course I'm taking. The task says to create a pseudo-class selector that targets all visited links. Add a color property and set the value to steelblue. I entered the following syntax but keep getting a "Bummer" message that I did something wrong. What am I doing wrong?
a:visited { color: steelblue; }
Thank for any guidance with this.
Amanda
2 Answers
amandamacfadden
1,543 PointsThanks guys! I figured it out, they wanted the pseudo-class rule from the first task included in the second task response.
Phew.
Aaron Jorgensen
Python Development Techdegree Graduate 13,658 PointsYes, the code challenges always build on the previous work. So every question will continue with eh previous code. Glad you figured it out!
Steven Parker
231,248 PointsYou'll notice that all challenges contain this instruction: "Important: In each task of this code challenge, the code you write should be added to the code from the previous task."
Aaron Jorgensen
Python Development Techdegree Graduate 13,658 PointsAaron Jorgensen
Python Development Techdegree Graduate 13,658 PointsThese should get you passed all three questions. I believe your code problem was spacing between visited and {