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

CSS

Select the unordered list with the class contact-info and set the font size to 0.9em.

So I wrote: .contact-info{ font-size: 0.9em; } and it is wrote to me back: "Be sure to set the font size to 0.9em." What am I doing wrong?

Did you ensure you indented between the 2 curly braces i.e:

.contact-info { font-size:0.9em }

Try that and also leave a space between the class and the opening curly brace

Happy Coding !!!

Hello, everyone, I succesfully wrote this code. Thanks anyway.

OK great Ido!

Good luck with your progress!

Happy Coding!

1 Answer

I think you are just missing a part of your selector, it should be something like this :

ul.contact-info {
  font-size: 0.9em;
}

Simply just add the ul to your selector and you should be fine!

Hey ryan! what you r saying is target the ul inside the class "contact-info" but the qn. says target the ul with the class "contact-info"

Sorry if i am mistaken! :-)

Yep, you are correct, sorry about that! I was using a descendant selector so you are indeed correct! I have edited the original answer to reflect this. Thanks for pointing that out to me!