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 trialDezine 2 Shine Productions
947 Pointsconfused..help
select the unordered list item with the class contact-info and make font-size to 0.9em. I put in .contact-info ul { font-size: 0.9em; .....} still says that I need to make font size 0.9em, what am I doing wrong, please help
2 Answers
Nicholas Olsen
Front End Web Development Techdegree Student 19,342 PointsIt really depends on the specific html code you have there so it is difficult to say what is going on, but here is one possibility:
if the code is:
<div class=".contact-info">
<ul>
<li>...</li>
</ul>
</div>
then what you have there should work. But if the code is:
<ul class=".contact-info">
<li>...</li>
</ul>
Then your code won't work because the selector ".contact-info ul" is looking for an unordered list that is the child of an element with the class .contact-info. To make it work, you would just used ".contact-info" as a selector. So, this should work:
.contact-info {
font-size: 0.9em;
}
Of course, this is assuming that the problem is what I suspect it is. Without seeing the code I can't be confident that this is the problem.
Dezine 2 Shine Productions
947 Points Thank you for the help but it turned out to be a glitch in the teamtreehouse website as soon as i refreshed the page &re-typed the code again the same way it went right through. Thank you again!!!