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 trialmatthewgirardi
2,053 PointsIn main.css, .contact-list li.phone, mail, and facebook will not show image.
.contact-list li.phone a { background-image: url('../img/phone.png'); }
.contact-list li.mail a { background-image: url('../img/mail.png'); }
.contact-list li.facebook a { background-image: url('../img/facebook.png'); }
<section> <h3>Contact Details</h3> <ul class="contact-info"> <li class="phone"><a href="tel:410-4499">410-4499</a></li> <li class="mail"><a href="mainto:girmat@gmail.com">girmat@gmail.com</a></li> <li class="facebook"><a href="http://facebook.com/mgirardi">fb</a></li> </ul> </section>
The phone, mail, and facebook images will not show on my webpage upon previewing. I can't seem to find an error in my code after reviewing it with the video multiple times. Help!!
2 Answers
sergehonderdos
8,918 PointsThe UL has a class of contact-info while in your css you target contact-list
matthewgirardi
2,053 PointsWow, THANK YOU. Guess it just took some good old fashion proof reading :)
Thank you very much.
sergehonderdos
8,918 PointsNo problem! Quicktip: for those kind of comments you could use the Add Comment button (below the answer) instead of the Post Answer. Looks a bit nicer :)