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

CSS How to Make a Website CSS: Cascading Style Sheets What is CSS?

Devin Scheu
Devin Scheu
66,191 Points

Hey 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>&copy; 2014 TheBlueStormGaming.</p>

3 Answers


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
Harry Abernethy
10,007 Points

Hi Devin, I believe it is because you have not closed your image tags correctly it is missing the /> rather than just >

iain saunders
iain saunders
9,531 Points

You only need to close image tags in XHTML, in HTML they are self closing. If the images are not displaying, it could be because:

  1. They have not been uploaded.
  2. They have not been moved into the 'img' folder.
  3. 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
Devin Scheu
66,191 Points

Okay ill check that out.