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 trialcandacemielke
6,466 PointsThe 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?
candacemielke
6,466 PointsThat 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
Georgi Dimitrov
Courses Plus Student 7,439 PointsThe 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;
}
candacemielke
6,466 PointsOk, that worked-thanks for your help!
Georgi Dimitrov
Courses Plus Student 7,439 PointsGeorgi Dimitrov
Courses Plus Student 7,439 PointsCan You paste the code here ?