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 trialTimothy Gobin
Courses Plus Student 2,084 PointsI am trying to complete one of the code challenges where I change the font to 0.9em. Keep getting an error.
Code is as follows:
.contact-info ul { margin:0; padding:0; list-style:none; font-size:0.9em; }
It keeps telling me I have not set the font size to 0.9em.
Thanks.
2 Answers
Jason Anders
Treehouse Moderator 145,860 PointsHi Timothy,
The Challenge is asking you to style the unordered list with the class of contact-info
. The code you have entered is targeting the class AND the element. You need just the class.
If you delete the ul
from the selector, you will be good to go.
.contact-info {
margin: 0;
padding: 0;
list-style: none;
font-size: 0.9em;
}
Keep coding! :)
Ted Sumner
Courses Plus Student 17,967 PointsTry removing the ul from your code. Also, please review the Markdown cheatsheet link on this page for how to format your code quotes for future posts.
Timothy Gobin
Courses Plus Student 2,084 PointsThanks very much! Will review the cheatsheet link as well for future reference.
Timothy Gobin
Courses Plus Student 2,084 PointsTimothy Gobin
Courses Plus Student 2,084 PointsThanks! It worked. New to CSS so very thankful for the assistance.