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

Pseudo-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

Aaron Jorgensen
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Aaron Jorgensen
Python Development Techdegree Graduate 13,658 Points

These should get you passed all three questions. I believe your code problem was spacing between visited and {

a:link{
  color:orange;
}

a:visited{
  color:steelblue;
}

a:hover{
  color:tomato;
}

2 Answers

Thanks guys! I figured it out, they wanted the pseudo-class rule from the first task included in the second task response.

Phew.

Steven Parker
Steven Parker
231,269 Points

You'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." :wink: