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

What is wrong with font-size?

code challenge : Add and style icon , i am giving font-size:0.9em but its saying error, why?

can you post the rest of the code?

Sankara Narayanan
Sankara Narayanan
6,038 Points

We need code to pin point what went wrong. So, Please share the code you entered in the code challenge.

2 Answers

Here's a link to someone experiencing the same problem. After reading this, it seems likely that the problem is with your selector and not the font size.

https://teamtreehouse.com/forum/code-challenge-add-and-style-icons

I think it point out to the problem, but why the selector has changed from .class ul to ul.class

Richmond Lauman
Richmond Lauman
28,793 Points

Ammar in the css rule you typed there is a semi colon missing from the end of the statement. Is it also missing in your code?