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 trialSteve Perlmutter
1,004 PointsCode not working. cant figure it out
its telling me to select the unordered list and change the font size to 0.9em. Then, remove margins, padding, and remove all list styling. Can someone tell me what i am doing wrong. it keeps telling me, Be sure to set your font size to 0.9em
.contact-info ul { font-size: 0.9em; margin: 0; padding: 0; list-style: none; }
3 Answers
Callum King
767 PointsI just attempted the code challenge, without the class selector, and just used the ul selector on its own, and it passed.
Joshua Harman
8,821 PointsSo the issue is actually that you selected too much. When it asked that you select the unordered list with the class contact-info, it didn't need you to select
*.contact-info ul{}*
. There actually is no such thing, since the very the thing the class is connected to is the unordered list in question.
<ul class="contact-info">
It needed you to just select the .contact-info class since you didn't need to be redundant. Does that make sense?
Here's what it should look like:
.contact-info {
font-size: 0.9em;
margin: 0;
padding: 0;
list-style: none;
}
I hope this helps!!
Steve Perlmutter
1,004 Pointsmuch appreciated
Ben Chadwick
4,836 PointsHey Steve,
Callum is correct. You will find that the "bummer" response doesn't always relate to the EXACT piece of the markup that is incorrect, so be sure to check through it all when debugging.
Your code looks good !
ul {
font-size: 0.9em;
margin: 0;
padding: 0 ;
list-style: none;
}
Steve Perlmutter
1,004 PointsI just used this code and now for some reason it worked fine. Thanks. Still learning.
Steve Perlmutter
1,004 PointsSteve Perlmutter
1,004 PointsThank you, i got it.