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 trialKelly Hayes
503 PointsNeed help with code challenge task.
Questions says select the unordered list with the class contact-info and set the font size to 0.9em. Then remove all margin, padding and list style. Challenge keeps telling me to set the font size 0.9em which I do but then it still says something is wrong. Earlier I passed this portion of the challenge and started on the next part with the code below the top portion but once I get there it says you must fix tier 1 error. Then it sends me back to the question above.
Below is what I have from the challenge at this point
.contact-info ul { font-size: 0.9em; margin: 0; padding: 0; list-style: none; }
.contact-info, a { display: block; min-height: 20px; background-repeat: no-repeat; background-size: 20px 20px; padding: 0 0 0 30px; }
Any thoughts?
Kelly Hayes
503 PointsNo that comma was a mistake, it's an example of my wonderful typing skills lol ^_^
1 Answer
Aaron HARPT
19,845 PointsYou have the ul and the contact-into class messed up, instead of:
.contact-info ul { font-size: 0.9em; margin: 0; padding: 0; list-style: none; }
it should be: ul.contact-info { font-size: 0.9em; margin: 0; padding: 0; list-style: none; } hope that helps.
Kelly Hayes
503 PointsIt worked many thanks friend :)
Ariel Aronica
6,646 PointsAriel Aronica
6,646 PointsYou have an extra comma after contact-info a. Is that supposed to be there?