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

HTML How to Make a Website Adding Pages to a Website Add and Style Icons

Nate Alspaugh
Nate Alspaugh
2,516 Points

stage 7 html code challenge... help!

In stage 7 of the how to make a website section's code challenge has me confused! It asked me to select the ul class contact-info and set the font-size to 0.9em. I wrote this down in my css and it still is telling me to set my font-size to 0.9em. Someone help!

My CSS:

.contact-info {

font-size: 0.9em; margin: 0; padding: 0; list-style: none;

}

1 Answer

Hi,

So it asked you to selec ul? so i think it should be

.contact-info ul {

font-size: 0.9em;
margin: 0;
padding: 0; 
list-style: none;

}

or

ul .contact-info  {

font-size: 0.9em;
margin: 0;
padding: 0; 
list-style: none;

}

Hope it helps

NOTE: Look that the question asked you to select a specific tag. So it was contact-info yes, but it asked you to select unordered list or ordered cant remember so its ul.

You need to watch out for every specific thing you do . Whatever you want to select, you will need to select it by its name like you did and if the website has classes, you need to put the name and put the class you want . In this cae it wasnt a class but it was a list so the same rule apply .