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 trialReuben Miranda
3,054 PointsWhy am I getting this wrong?
li:nth-child(3) { background-color: $FF6347; }
I am sure this is correct but can't pass the challenge for some reason.
2 Answers
James Anwyl
Full Stack JavaScript Techdegree Graduate 49,960 PointsHi,
You need to use # instead of $ to mark the start of a hex value. For example:
#element {
background-color: #FF6347;
}
Hope that helps!
Reuben Miranda
3,054 PointsYou're absolutely right! Thank you so much!