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 HTML Basics Going Further with HTML Working on a Website Project Locally

So I did everything step by step & my browser wont show the images or open article.html. it just says "site not found"

I downloaded Atom and tried to make the changes, still nothing. I really cant afford to start over again. someone please help!

1 Answer

Gergely Bocz
Gergely Bocz
14,244 Points

Dear Emmily Sorge!

File pathing can be tricky at first. For quick reference, have a look at this W3 Tutorial.

The thing you have to keep in mind when working with multiple folders and multiple files is that they have a tree structure, and you can get to every element by going through specific folders, where folders act like branches.

In this example the entry point -or the root folder- is project. That's the base of the tree from which everything else follows. So if you want to go to articles, you one level down. A change in level downwards is indicated by a forward slash "/". So if you want to navigate to articles it's as follows: /articles Now you are in the articles folder but only in the folder. If you want to access the article.html file, you have to go through the "2017" folder and then point towards the html itself. It looks like this: /articles/2017/article.html

It's all compared to the current folder that we are in, in this case the "project" folder -because that's where index.html is.

Now that you are in the "2017" folder, if you want to navigate to an upper folder, you have to use "../"

So basically you have a move up "../" command, a move down "/{name_of_the_folder_or_file}" command and that's it. You just have to make sure that the pathing and naming and correct.

For pathing, you can basically copy the way from how you would navigate through folders in your operating system. For naming, you just have to be precise, and if you are sure that the pathing is correct, then the problem is probably with the naming.

Hope I could help!

Good luck, Gergő