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
Tj Dhavale
1,921 PointsQ2 on select the third list item only is incorrect despite the preview showing the right thing
In question two of the nth child task, the code I've entered gives the correct response in the preview but I'm still getting an 'incorrect 'message. I tried leaving the previous answer in there and just changing the background and that didn't get accepted either. Screenshot below: https://twitter.com/realperfectnose/status/352983410219827201 Any ideas?
6 Answers
Elliott Frazier
Courses Plus Student 9,647 PointsYour code is perfect, but like they said "Create a new rule that selects the 3rd list item only. Set the background color to the HEX value FF6347" you're suppose to leave the previous CSS rule intact, and just create a new one instead of replacing it.
hope this helps! :)
Tj Dhavale
1,921 PointsHahaha darned right it's perfect! Thanks Elliott, you hit the nail on the head. Cheers.
Szymon Socha
1,207 PointsIt's perfect, but I can't get a pass...????????? Can anyone help me with that? My code looks exactly like in the screenshot above....
Szymon Socha
1,207 PointsGot it the # sign was missing.
Elisabeth Meyer
6,231 PointsOh my gosh! I missed the # sign too, how funny.
alex lawless
9,661 PointsHa, pesky # had me puzzled for ages!?!
alex lawless
9,661 PointsHa, pesky # had me puzzled for ages!?!