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

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

Eric Arrigo
Eric Arrigo
1,309 Points

Code Challenge Keeps Denying My Answer!

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 added:

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

I keep getting the error message "Be sure to set the font size to 0.9em." Any help?

5 Answers

you are selecting all ul elements inside an element with the class of .contact-info. The correct selector should select THE ul with class of .contact-info.

Just wanted to add to Riley's answer.

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

Was trying to not give the full answer, but I think jabal torres' is incorrect still so just to clear everything up:

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

Thanks for the feedback.

I see what Riley is saying now.

You're welcome :)