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


Why are my footer social media logos failing to display?

After moving folders and attempting to rename image source, it seems I broke my working code. Any suggestions?


<a href="http:linkedin.com/in/benjibeck"><img src="..portfolio/index/linkedinlogo.png" alt="LinkedIn Logo"></a>


2 Answers

don't forget // on your URL and specifies only the folder where the images are located

<a href="http://linkedin.com/in/benjibeck"><img src="img/linkedinlogo.png" alt="LinkedIn Logo"></a>

Thanks for catching that. I've tried to correct the sections as you mentioned. I still can't seem to get the footer image to display, I will try to review the videos on them and troubleshoot a bit more.

If this is the full length extension to the folder item, how much of it should be included in the img= src=

img src="..Desktop\portfolio\img\linkedinlogo.png

I've managed to get my icons to display again. I'm unsure whether this is written in proper syntax though. If anyone sees errors please advise, thank you.


<a href="//http:linkedin.com/in/benjibeck"><img src="C:\Users\Benji\Desktop\portfolio\img\linkedinlogo.png" alt="LinkedIn Logo"</a>