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
christopher wood
Courses Plus Student 4,438 PointsChild Selector Code challenge
From what i understand this is the answer
div >a { color: #FF0000; font-weight: strong; }
yet it says, "The child selector is >, try double checking your css selectors." lol it their?
6 Answers
Chase Lee
29,275 PointsTry messing around with spaces. Hope that helps.
Adolpho Piazza
3,219 PointsI also think that font-weight should be bold, not strong :)
christopher wood
Courses Plus Student 4,438 PointsYes true I have try both and still I get same message :\ . So I have move on to the next code challenge. So miss out on me badge :( yet I just passed Pseudo classes challenge.
Still want me badge for Selectors
Adolpho Piazza
3,219 PointsIs this the question? "Use a Child Selector to select the anchor element that is a direct child of the div. Set its color to green and the font weight to bold."
div > a { color: green; font-weight: bold; }
christopher wood
Courses Plus Student 4,438 PointsSnap Wrong hex yeah it green not red, lol now iam red :p
Alexander Haggerty
1,850 PointsI was stuck on this for a few minutes until I picked up on the keyword 'anchor' I made the mistake of using 'paragraph' and was lost due to the error that was coming up. It was making reference to the selector itself which was confusing. But I am now the proud owner of the 'Selectors Badge' :)