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 trialMelissa Tsang
1,514 PointsNot detecting my code correctly
For challenge task 1 of 5
This is my code:
.contact-info ul { font-size: 0.9em; margin: 0; padding: 0; list-style: none; }
It says I'm not setting the font size to 0.9 em?
3 Answers
Emilio Queiroz
3,710 PointsRemove the ul.
.contact-info{ font-size: 0.9em; margin: 0; padding: 0; list-style: none; }
Melissa Tsang
1,514 PointsThanks for the replies!
The challenge prompt: "Select the unordered list with the class contact-info and set the font size to 0.9em. Then, remove all margin, padding, and list styling."
So I removed the ul and it worked... But that's strange, because the prompt said the "unordered list" aka ul. What?
Derek Etnyre
20,822 PointsMay want to post the full question - not exactly remembering it.
General thing to check is that your selector is correct. Maybe it wants li item and not the ul?