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 trialRafael Sanchez
11,804 Pointsany one had a problem with the code challenge on adding pages to website?? I asking me to have "font-size: 0.9em;" but
it doesn't take it it keeps saying not to forget the font but is in there
4 Answers
Rafael Sanchez
11,804 Pointscontact-info ul{ font-size: 0.9em; margin: 0; padding: 0; list-style: none; }
Jason Anello
Courses Plus Student 94,610 Points"contact-info" is a class and so you want to precede it with a period when using it as a selector.
Also, the ul isn't within an element with a class of "contact-info" but rather the ul is the element with a class of "contact-info"
So you don't want to create a descendant selector but rather use the class by itself .contact-info
or you can do what's called type qualifying your selector and put the ul in front ul.contact-info
. This means, "a ul with a class of contact-info"
Either of those 2 selectors will work.
Rafael Sanchez
11,804 Pointsthank you Jason Anello.
Jason Anello
Courses Plus Student 94,610 PointsYou're welcome!
Rafael Sanchez
11,804 Pointsit worked one little thing that I forgot. Thanks a lot.
Jason Anello
Courses Plus Student 94,610 PointsJason Anello
Courses Plus Student 94,610 PointsHi Rafael,
Can you post the code that you have tried?