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


Attribute Selector Task 1/4

I don't understand why my answer is wrong for the question: "Create an attribute selector that will target "< a >" elements with a title attribute. Add a color property with the value 'darkred'."

My answer:

a|title="More!"| {
  color: darkred;

2 Answers

Mike Bronner
Mike Bronner
16,395 Points

Instead of pipes, you want to use brackets:

color: darkred;

CSS selectors are always in brackets, not pipes. :) Probably just a visual error, sometimes things are hard to see in the videos. :)

Merry Christmas! ~Mike

Thanks, Mike!