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 Iconography

Why aren't my background images showing that I input into CSS . Snap shot http://w.trhou.se/9mod1fjka2

http://w.trhou.se/9mod1fjka2 . Did I input something wrong?

2 Answers

Damien Watson
Damien Watson
27,419 Points

Hi Tiara,

In your html, you have the classname with a space 'contact info' instead of a hyphen 'contact-info'. Change the html class name to be like below and it should fix it.

.contact-info li.phone a {}
<ul class="contact-info">
</ul>

Thank you!

To go into a little more detail, when you separate class names with a space like "contact info" you are actually adding extra classes to that element. Each space inside of the class attribute adds another class to that element, so the HTML was looking for a class called "contact" and a class called "info". :P