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 trial
brianturner4
18,570 PointsIt keeps telling me to set the font-size to 0.9em but it's there. HELP
HERE'S MY CODE, I'm obviously missing something.
nav ul .contact-info { font-size: 0.9em; list-style: none; margin: 0 0px; padding: 0;
2 Answers
Rich Bagley
25,869 PointsHi Brian,
I'm trying to remember the task but can you try removing the space before .contact-info? e.g.
nav ul.contact-info { font-size: 0.9em; list-style: none; margin: 0 0px; padding: 0;}
If that doesn't help, can you include a link to the challenge please and I'll take a look?
Thanks
-Rich
Jason Anders
Treehouse Moderator 145,863 PointsHey Brian,
The challenge is just asking to style the ul element with the class of .contact-info, so all you need is
.contact-info {
font-size: 0.9em;
margin: 0;
padding: 0;
list-style: none;
}
:)
brianturner4
18,570 Pointsafter the nav ul is where it should start right?
brianturner4
18,570 Pointsadd it after the nav ul though right?
Jason Anders
Treehouse Moderator 145,863 PointsIf I remember correctly, yes.
It is much easier if you link from the challenge you are having problems. For future reference, just click on the "Get Help" from the challenge/quiz you are working on and follow the directions. It will then post directly to the forum with a direct link to where you are in the course.
:)
Jason Anders
Treehouse Moderator 145,863 PointsThe code I posted should be by itself and not attached to any other selector, so if you mean
nav ul {
/* some styles here */
}
.contact-info {
/* code I posted here */
}
Then yes, after that.
brianturner4
18,570 Pointsbrianturner4
18,570 Pointshttps://secure.gravatar.com/avatar/5fc8a9fe2f026383e854e86b573f799e?s=44&d=https%3A%2F%2Fstatic.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-1194852ae95df3501aed27c0a96da653.png&r=pg
here is the link, what is different between yours and mine. I'm just not seeing it yet.
Rich Bagley
25,869 PointsRich Bagley
25,869 PointsHi Brian,
You have:
nav ul .contact-info {}whereas I added the following (notice the space between
uland.contact-infoin your code):nav ul.contact-info {}-Rich