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 trialItsa Snake
3,852 PointsBroken lesson
The question is this:
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.
I type this:
.contact-info ul { font-size: 1.9em; margin: 0; padding: 0; list-style: none; }
But get the error this:
Bummer! Be sure to set the font size to 0.9em.
So, I try this:
ul.contact-info { font-size: 1.9em; margin: 0; padding: 0; list-style: none; }
Still get this:
Bummer! Be sure to set the font size to 0.9em.
Is the lesson broken?
4 Answers
Stone Preston
42,016 Pointsyour second answer was almost correct
ul.contact-info { font-size: 1.9em; margin: 0; padding: 0; list-style: none; }
however you need to se the font size to 0.9 em, not 1.9
Gary Ford
14,475 PointsUnless I'm seeing this incorrectly, the font-size you put in your code is 1.9em. It's asking you to change it to 0.9em.
Itsa Snake
3,852 PointsGood spot, Gary. However, that is only a typo in here. It stil gives me the error..
.contact-info ul { font-size: 0.9em; margin: 0; padding: 0; list-style: none; }
Bummer! Be sure to set the font size to 0.9em.
Stone Preston
42,016 Pointsthats the wrong selector. your second selector is the correct one
Itsa Snake
3,852 PointsAha! That worked. Thanks so much. Really appreciate that
sanity saved