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

HTML

Adding images to workspaces

Hi, Another basic question here, sorry! I've just watched the video about adding images to a page. I tried to do this in my own workspace but for some reason its not working. Wondered if someone could tell me what I'm doing wrong?

<section> <ul> <li> <a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""> </a> </li> </ul> </section>

The image is displayed as a little box, when I click on it, it says not found on server..........

4 Answers

Hello Rachel - have you tried to do what I suggested above? Have you made sure all the images are inside the img folder? Good Luck:)

Many thanks! All sorted! :)

have you tried delete the image folder and re-install it back again into the workspace? Also make sure you try to visualize it in different browsers, hope it helps, I am a begginer too but Im eager to help.

you drag into the little black space on the bottom. Then you see them uploaded.

if not create your own folder in your desktop download notepad plus plus and edit files there. You don't need the workspace for html, css, and javascript. You only need workspaces for python, ruby, java, and php.