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

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

Christiane De
Christiane De
4,224 Points

Add and style icons challenge: I set the font-size but it keeps saying bummer

Hi,

In the How to Make a Website course, for Add and Style Icons, the challenge asks me to select the unordered list of the contact info class and to set the font-size to 0.9em. I did it but it gives me an error message. Did I overlook something?

.contact-info ul { font-size: 0.9em; margin: 0; padding: 0; list-style: 0 }

Thanks!

2 Answers

Patrick Kelly
Patrick Kelly
6,200 Points

Hi Christiane,

I've not had a chance to check out the task you've mentioned directly but just from your question; can you confirm whether the <ul> tag has the .contact-info class?

From your code you've provided, you're currently trying to select any <ul> elements within any element with the .contact-info class. Whereas what I think you may be looking to do is select the <ul> element with the class .contact-info - which would look like this in the HTML:

<ul class="contact-info">

</ul>

and would therefore be selected like this in CSS: ul.contact-info { // Some CSS styles }

I hope this helps!

Best, Patrick