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
cesarruelas
27,718 PointsSocial media buttons not showing up in footer
Here is the code for my footer:
<footer>
<a href="http://twitter.com">
<img src="img/twitter-wrap.png" alt="Twitter logo">
</a>
<a href="http://facebook.com">
<img src="img/facebook-wrap.png" alt="Facebook logo">
</a>
<p>© 2014 My Name</p>
</footer>
yet the only thing that shows up in my browser after saving and refreshing is the copyright part, neither the image or the "Twitter/Facebook logo" strings show up. Anyone have any idea what's going on or if there's something missing in my footer?
3 Answers
Tommy Gebru
30,164 PointsCan I have a look at your code? I reviewed the section and the images are showing in workspaces.
Tommy Gebru
30,164 PointsHey Cesar, from what I can tell visually your code is missing a footer element.
cesarruelas
27,718 PointsI don't know why it wasn't showing in the question but it is there in the HTML in the workspace. is there any other error you see? Thank you for responding.
Tommy Gebru
30,164 PointsDo you have image files available on the workspace? It should be with the css and html files to the left.
cesarruelas
27,718 PointsI have them on the workspace in the right folder but I just tried accessing them through the workspace and I couldn't view them. I tried with the 'mail.png' image, which does show up in the workspace, and that one worked just fine. I will try reuploading the files and see if that fixes it.
Tommy Gebru
30,164 PointsThats great Cesar, Keep up the good work!
cesarruelas
27,718 Pointscesarruelas
27,718 PointsI think I found the problem. Whenever I upload 'facebook-wrap.png' and 'twitter-wrap.png' to the workspace and put them in the img folder, they disappear. I didn't include them in the folder and modified the src attribute accordingly and now thay are showing up just fine. I don't know if it's a problem in my computer or if this is something I should write to technical support about.