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

HTML How to Make a Website Adding Pages to a Website Add and Style Icons

Error with font-size

Hi, I cannot pass thiz code challenge an I don't understand why. In the first response I am inputing

.contact-info ul { font-size: 0.9em ; margin 0; padding:0; list-style:none; }

which should be correct. It keeps telling me "Be sure to set the font sizing to 0.9 em"

3 Answers

Maritza Nguyen
Maritza Nguyen
1,683 Points

Something as simple as the incorrect placement of the curly brackets, colon, or semicolon can give you an incorrect answer. Double check everything to make sure they are placed correctly.

You are using a descendant selector .contact-info ul This is saying "select an unordered list that is within an element with a class of contact-info"

In the code challenge it says "Select the unordered list with the class contact-info..." So it's the unordered list which has that class name. You need to combine the type and class selectors. ul.contact-info This says, "select the unordered lists with a class of contact-info"

Thank you ! It is working now!