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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Kelvin Yu](https://secure.gravatar.com/avatar/a9e27b6a86cf2c5a869b19304f97bb73?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Kelvin Yu
2,554 PointsAttribute 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](https://secure.gravatar.com/avatar/72df54d24bbec8196611d64bee38e4eb?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Mike Bronner
16,395 PointsInstead of pipes, you want to use brackets:
a[title="More!"]
{
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
![Kelvin Yu](https://secure.gravatar.com/avatar/a9e27b6a86cf2c5a869b19304f97bb73?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Kelvin Yu
2,554 PointsThanks, Mike!