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

The Code Challenge asks to change the font to 0.9em, but what I've entered doesn't work and I can't figure out why.

The code challenge has asked me to change the font size to 0.9em. The exact code (copy/paste) that I used is:

font-size: 0.9em;

...but for some reason it is indicating to me that is wrong. If it's wrong, I am so wrong I don't understand what I messed up...can anyone help?

Can You paste the code here ?

That is the copy/pasted code specifying the font size. The full code (to answer the full question) was:

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

2 Answers

The ul is with class "contact-info", so maybe you are selecting it wrong in the CSS file. The question is to pick specific element type which has defined class. So the ul has class of .contact-info.

Try to select it with:

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

Ok, that worked-thanks for your help!