Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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!