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
Stephen Viesto
Full Stack JavaScript Techdegree Student 4,997 PointsHelp with html/css How To Make A Website quiz question..
The question states: 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.
Here's my code:
.contact-info ul {
list-style: none;
padding: 0;
margin: 0;
font-size: 0.9em;
}
It's telling me that my font size is not set to 0.9em. Any help would be much appreciated!
2 Answers
Jennifer Nordell
Treehouse TeacherClose! Try this:
ul.contact-info {
list-style: none;
padding: 0;
margin: 0;
font-size: 0.9em;
}
Stephen Viesto
Full Stack JavaScript Techdegree Student 4,997 PointsThanks Ben, that worked.
Ben Schroeder
22,818 PointsBen Schroeder
22,818 PointsYou don't need the "ul" after the class.
edit: Just realized I put this in as a comment instead of an answer. My bad!