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 trialMathieu Chiron
7,139 PointsIs it normal I can't get to the next question?
Hello There! I do not understand why I can not advance to the next question... The issue is the following: I am supposed to set the font-size of the ul of the class contact-info (challenge task 1 of ADD ICONOGRAPHY), but even after having done so and checking my work and the syntax, it still says 'bummer, be sure to set the font to 0.9em'...I have no idea if it's my fault (in this case, i have no clue why) or if there is any bug on the editor inspector. Thank you for your feedback.
Cheers Mat
3 Answers
Stone Preston
42,016 Pointsyour selector is incorrect.
.contact-info ul { }
selects all unordered lists that are children of elements with a class of contact info.
what you need to select are unordered lists with the class of contact info. here is a hint: to select elements with a specific class you can use the form of element.className { }
so if I wanted to select h1 elements with a class of "someClass" I would use
h1.someClass { }
in your case you need to select ul elements with a class of "contact-info"
Mathieu Chiron
7,139 PointsCheers mate! Merci beaucoup
Adolfo Quevedo
2,863 Pointsli.contact-info { /**here its the problem should be ul instead of li */ font-size: 0.9em; margin: 0; padding: 0; list-style: none; }
Mathieu Chiron
7,139 PointsMathieu Chiron
7,139 PointsSelect the unordered list with the class contact-info and set the font size to 0.9em. Then, remove all margin, padding, and list styling.
it should be .contact-info ul { font-size: 0.9em margin: 0; padding: 0; style-list: none; }
Am I wrong? I can't manage to get to the next question (see main question above) TY for your help!