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 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:

<footer>
    <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>
</footer>

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