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

Code not working. cant figure it out

its telling me to select the unordered list and change the font size to 0.9em. Then, remove margins, padding, and remove all list styling. Can someone tell me what i am doing wrong. it keeps telling me, Be sure to set your font size to 0.9em

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

3 Answers

I just attempted the code challenge, without the class selector, and just used the ul selector on its own, and it passed.

Thank you, i got it.

So the issue is actually that you selected too much. When it asked that you select the unordered list with the class contact-info, it didn't need you to select *.contact-info ul{}* . There actually is no such thing, since the very the thing the class is connected to is the unordered list in question.

<ul class="contact-info">

It needed you to just select the .contact-info class since you didn't need to be redundant. Does that make sense?

Here's what it should look like:

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

I hope this helps!!

much appreciated

Ben Chadwick
Ben Chadwick
4,836 Points

Hey Steve,

Callum is correct. You will find that the "bummer" response doesn't always relate to the EXACT piece of the markup that is incorrect, so be sure to check through it all when debugging.

Your code looks good !

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

I just used this code and now for some reason it worked fine. Thanks. Still learning.