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!
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
Vincent Theriault
2,044 PointsCSS Advanced Selectors, 1st Challenge task 2
I might just be too tired... but I can't see what's wrong
Challenge : "Create a new rule that targets the 3rd list item only. Set the background color to the HEX value FF6347."
My answer : li:nth-child(3) { background-color: FF6347; }
3 Answers

Hasan Pektas
2,128 PointsDon't forget the hashtag "#" before the HEX code (#ff6347).

Derek Etnyre
20,822 PointsBelieve you need to put an n after the 3 - like this:
li:nth-child(3n) { background-color: FF6347; }

Jason Anello
Courses Plus Student 94,610 PointsThis would select every 3rd child.

Vincent Theriault
2,044 PointsThanks guys. I should never code when tired..... : )
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsIt's the hashtag.