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 trialEric Arrigo
1,309 PointsCode Challenge Keeps Denying My Answer!
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.
I added:
.contact-info ul {
font-size: 0.9em;
margin: 0;
padding: 0;
list-style: none;
}
I keep getting the error message "Be sure to set the font size to 0.9em." Any help?
5 Answers
Riley Hilliard
Courses Plus Student 17,771 Pointsyou are selecting all ul elements inside an element with the class of .contact-info. The correct selector should select THE ul with class of .contact-info.
Jabal Torres
6,496 PointsJust wanted to add to Riley's answer.
ul .contact-info { font-size: 0.9em; margin: 0; padding: 0; list-style: none; }
Riley Hilliard
Courses Plus Student 17,771 PointsWas trying to not give the full answer, but I think jabal torres' is incorrect still so just to clear everything up:
ul.contact-info { font-size: 0.9em; margin: 0; padding: 0; list-style: none; }
Jabal Torres
6,496 PointsThanks for the feedback.
Jabal Torres
6,496 PointsI see what Riley is saying now.
Eric Arrigo
1,309 PointsThank you guys!
Jabal Torres
6,496 PointsYou're welcome :)