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

I have downloaded the workspace files locally. I opened them locally yet everything seems to work fine on browser, how?

I have downloaded the workspace files locally. I opened them locally yet everything seems to work fine on browser, how?

Downloaded workspace dragged file to desktop opened 'index.html' file website running normally with nav pages too. Even pictures are fine

how is this possible?

3 Answers

Kevin Gates
Kevin Gates
15,053 Points

HTML, CSS, and JavaScript all run in the web browser. So that means if you have those files locally and open them with Chrome for instance, then they will operate as expected.

Carmine Lentini
Carmine Lentini
4,449 Points

Nothing to add, that's a great answer.

Gareth Partridge
Gareth Partridge
13,421 Points

Because you have downloaded the files and it is now running locally on your PC.

Same with me. Some links and images were working fine. However, I had to make changes in the navigation menu of the articles.html since they were giving a page not found.