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 trialLaura Beeby
2,654 PointsChallenge Task 1: I give up!!
I'm totally stumped. I think I'm following the instructions, but apparently I'm not.
The instructions say:
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.
.contact-info ul { font-size: 0.9em; margin: 0; padding: 0; list-style: none; }
And the answer I keep getting is: "Bummer! Be sure to set the font size to 0.9em."
Obviously I'm missing something...but what?
Thanks...
3 Answers
Adam Sackfield
Courses Plus Student 19,663 PointsYou are selecting the unordered list inside a class of contact-info like below
.contact-info ul {
font-size: 0.9em;
margin: 0;
padding: 0;
list-style: none;
}
Where to select the unordered list with a class of contact-info you need to do it this way
ul.contact-info {
font-size: 0.9em;
margin: 0;
padding: 0;
list-style: none;
}
So if your selecting a selector with a class then you put the selector followed immediately by the class.
Laura Beeby
2,654 PointsAhhhhhh...I thought I had tried that too...but maybe not...
Laura Beeby
2,654 PointsAwesome...thank you!
Adam Sackfield
Courses Plus Student 19,663 PointsYour welcome. As a tip too in the forums, try adding replies as comments, rather than answers as it looks tidier :)