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

Michael McCrickard
Michael McCrickard
968 Points

Code challenge: set font size

Here's the instruction: 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.

Here's my answer: alt text

But it keeps saying .. Bummer! Be sure to set the font size to 0.9em.

Hi Michael,

This thread will show you how to post code in the forums: https://teamtreehouse.com/forum/posting-code-to-the-forum

Much easier and faster than doing screenshots.

Michael McCrickard
Michael McCrickard
968 Points

Thanks so much, Jason. I was wondering how people were able to get those screenshots made and uploaded so quickly! Now I get it ...

3 Answers

Sreng Hong
Sreng Hong
15,083 Points

it says select the unordered list with the class contact-info, so it should be like this:

ul.contact-info {

}
Michael McCrickard
Michael McCrickard
968 Points

Thanks so much, Sreng. Of course, that was it. Still trying to get the hang of these CSS selectors. This confirms my observation that the "Bummer" messages can be misleading, but they do seem to be able to detect bad code.

Alan Johnson
Alan Johnson
7,625 Points

The current selector you have:

.contact-info ul

Would select a ul contained within an element with a class of contact-info. You want to use a selector that selects an unordered list with a class of contact-info.

Hopefully that helps! Let me know if you need additional hints!

you dont even need to put the ul just select the class.

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