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

Maria Wendt
Maria Wendt
1,386 Points

Can't seem to select unordered list with class "contact-info"

I'd so appreciate someone showing me what I am doing wrong here:

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

Thanks!

3 Answers

Jacob Miller
Jacob Miller
12,466 Points

Also, you need to change your selector to ul.contact-info. Currently your selector is selecting all ul elements inside anything with the class "contact-info".

Tawny Bartlett
Tawny Bartlett
24,674 Points

Hi there,

You have a colon missing after padding!

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

Hope this helps :-)

Tawny.

Maria Wendt
Maria Wendt
1,386 Points

Thank you, both! That was were I messed up! I appreciate the quick feedback!!