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!
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
Benji Beck
5,238 PointsWhy 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?
...html
<a href="http:linkedin.com/in/benjibeck"><img src="..portfolio/index/linkedinlogo.png" alt="LinkedIn Logo"></a>
...
2 Answers

cedricc
37,590 Pointsdon'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>

Benji Beck
5,238 PointsI'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.
...html
<a href="//http:linkedin.com/in/benjibeck"><img src="C:\Users\Benji\Desktop\portfolio\img\linkedinlogo.png" alt="LinkedIn Logo"</a>
...
Benji Beck
5,238 PointsBenji Beck
5,238 PointsThanks 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