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 trialDevin Scheu
66,191 PointsHey guys, so when i run my workspace preview, it doesn't show the twitter and facebook logo.
Here's my code to display the logo
<a href="http://twitter.com/devinscheu"> <img src="img/twitter-wrap.png" alt="twitter logo"> </a>
<a href="http://facebook.com/devinscheu"> <img src="img/facebook-wrap.png" alt="facebook logo"> </a>
<p>© 2014 TheBlueStormGaming.</p>
</footer>```
3 Answers
Kristian Terziev
28,449 PointsHello,
Are those images in img folder. And is the file you are coding in the same folder with the img folder. Also check if the extention of the images is really .png
Harry Abernethy
10,007 PointsHi Devin, I believe it is because you have not closed your image tags correctly it is missing the /> rather than just >
iain saunders
9,531 PointsYou only need to close image tags in XHTML, in HTML they are self closing. If the images are not displaying, it could be because:
- They have not been uploaded.
- They have not been moved into the 'img' folder.
- The 'img' folder is not where it is expected to be.
I actually had trouble uploading because I didn't unzip the files in the first place. If there are no image files showing in the workspace sidebar, make sure to download and unzip the archive, then upload the images from the new unzipped folder.
Devin Scheu
66,191 PointsOkay ill check that out.