Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.