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

Stacy Fabian
Stacy Fabian
2,246 Points

Setting font size wrong. Why?

I am unable to pass this question of the code challenge and I don't see why. Anyone else see it?

The question is: 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.

My code:

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

Thanks in advance for the help.

Stacy

2 Answers

Stacy,

Close. It should begin ul.contact-info. You had it backwards, a common mistake.

Stacy Fabian
Stacy Fabian
2,246 Points

Thanks. Yeah I found that after getting into the forum and finding questions similar to mine. :) I still need to figure out how to best look through the forum for questions from the step on I'm on so I can try to find the help before posting, but haven't figured that out yet.

Thanks for the help!

Stacy