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 How to Make a Website Adding Pages to a Website Add and Style Icons

Why is it not allowing me to move on when I have clearly set the font size to 0.9em?

I am getting the red line of death saying that I have not set the font size to 0.9em. I have done this, but for some reason I can't move on to the next challenge.

Can we see your code?

4 Answers

Daniel Lute
Daniel Lute
3,043 Points

Might need fix the way you use selector such as:

ul.contact-info instead of .contact-info ul

Typically a missing semicolon, or perhaps another stray punctuation mark? Print your code here if you can't find it.

Here is the challenge:

Challenge task 1 of 5

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 is my code:

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

What am I not seeing?



That worked. It wasn't the way we were doing it in the tutorial, but it did work. Thank you. Thanks everyone who responded.