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

General Discussion

File Tree question


I'm in Challenge task 2 of 2. Keep getting response— Bummer! Make sure you include an image tag that displays "img/numbers-01.jpg".

Nick talks about loading "Images" into the "File Tree" by dragging them over. Over to where? I'm working in the index.html window in the Challenges.

Please help! Marcy

2 Answers

Aisha Blake
Aisha Blake
Treehouse Guest Teacher

Hi, Marcy!

You needn't drag any images anywhere for the purposes of the code challenge. As a general rule, people tend to keep all of their images in a folder called something like "images" or "img" within the larger folder which contains the whole site. In the video, he's saying to add the img folder available for download from Treehouse to your site's folder by dragging it into your workspace. That's just assuming you're following along with him. In practice, there are a number of ways you can add files and/or folders to your site.

To complete the code challenge, you just need to add image tags to each of your list items that reference the three images mentioned in the instructions. Remembering that they're stored in a folder called "img" which your index page is outside of, you have to navigate to each image by including "img/" before the file name within your src attribute. It should look like this:

        <li><img src="img/numbers-01.jpg" alt=""></li>

Thank you so much!!!!!!!!!!!! I was missing the " in front of the img and din't see it.

Aisha Blake
Aisha Blake
Treehouse Guest Teacher

So often, it's something tiny like that! Glad you figured it out!

Again—thanks! This can get so frustrating.