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 trialGabrielle Doyle
842 PointsI can't get the answer to resizing font correct and I'm not sure why. See my code below.
*so this is the code I used to resize the font for the contact-info class and ul list. I just can't figure out why I keep getting the "bummer" response.
.contact-info ul{ font-size: 0.9em; margin:0; padding:0; list-style:none;}
2 Answers
Wade Christensen
Treehouse TeacherYou're pretty close. What you have done is targeted the class of contact-info and then any ul inside that class.
What you want to do is instead target the ul with a class of contact-info.
Just switch around where you've put the ul.
ul.contact-info{
font-size: 0.9em;
margin:0; padding:0;
list-style:none;
}
Gabrielle Doyle
842 PointsWow. I did miss that. Thank you. CSS is tricky. Me thinks.
Wade Christensen
Treehouse TeacherIt's a little tricky for sure. That's one of those things that doesn't seem obvious at first. Does it make sense why the two code snippets are different though?