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.


Need help with code challenge task.

Questions says select the unordered list with the class contact-info and set the font size to 0.9em. Then remove all margin, padding and list style. Challenge keeps telling me to set the font size 0.9em which I do but then it still says something is wrong. Earlier I passed this portion of the challenge and started on the next part with the code below the top portion but once I get there it says you must fix tier 1 error. Then it sends me back to the question above.

Below is what I have from the challenge at this point

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

.contact-info, a { display: block; min-height: 20px; background-repeat: no-repeat; background-size: 20px 20px; padding: 0 0 0 30px; }

Any thoughts?

Ariel Aronica
Ariel Aronica
6,646 Points

You have an extra comma after contact-info a. Is that supposed to be there?

No that comma was a mistake, it's an example of my wonderful typing skills lol ^_^

1 Answer

19,845 Points

You have the ul and the contact-into class messed up, instead of:

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

it should be: ul.contact-info { font-size: 0.9em; margin: 0; padding: 0; list-style: none; } hope that helps.

It worked many thanks friend :)