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

Folders and files for (Build a Sample Website) module

Hello, Just starting my studies here, and having never used a text editor before, I'm having a hard time figuring out what files to drag into the left side toolbar. I got started before seeing the zip files to download, then went back and downloaded them. I was able to get the images to display after completing the first part of the module, but now I can't get them to display after including the additional img files. I know this mod is supposed to be very basic, but I guess I need to go below basic! Any suggestions on how to get those folders in order and getting the images to work consistently? Thanks, Sarah

1 Answer

What do you mean what files to drag into the left toolbar?

From what I understand it seems like you're having issues with structuring your files for your code.

This is a screenshot of my file structure for the simple site module with the folders open for you to see where the images are, etc.

File Structure Now to make sure that the images show up, when you'd create your code, you'd use the relative file path.

Since my images are in the 'img' folder, when I use one, I have to type

<img src="img/logo.gif" alt="Smells Like Bakin Logo">

Sorry if this doesn't answer your question, it was just my take on it.

Thanks for your reply, I'm not even sure how to display a screenshot in my reply...but my folders seem to look just like yours and I know I'm copying the code correctly. The images just show up as the little broken image icons in my browser. I even tried adding the img folder by going through the Sublime Text tool bar Projects>add folder to project, but it's still not working.

I think I figured it out, each zip file had duplicates of the img folders and files, so after I went through and deleted all dups the images now show up.