Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML How to Make a Website Creating HTML Content Add Social Media Links

Image not displaying for facebook or twitter, but alt is working fine

I keep getting an error message for the Facebook and twitter images, not quite sure where I am going wrong.

Could you provide an example of your code, Alfred? I'd be happy to help you.

2 Answers

Sergey Podgornyy
Sergey Podgornyy
20,660 Points

The code on footer should be like:

    <a href="#"><img src="img/twitter-wrap.png" alt="Twitter Logo" class="social-icon"></a>
    <a href="#"><img src="img/facebook-wrap.png" alt="Facebook Logo" class="social-icon"></a>

Of course, do not forget to upload images in "img" folder.

thanks not sure what I change but when i logged back in it worked fine