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.

HTML HTML Basics Going Further with HTML Root-relative Paths

Philipp Henk
Philipp Henk
12,494 Points

the localhost:8000 doesn't display anything

so I started the terminal on my mac and used cd and ls commands to get to the folder where the index.html is in. I have selected the folder called HTML and then typed in the

$ python -m http.server 8000 command for Python 3.

After connecting to the local server i openend the localhost in my browser and nothing shows up - why?

1 Answer

Clayton Perszyk
Clayton Perszyk
Treehouse Moderator 48,476 Points

I would open up developer tools and look at the console and look for an error or look at terminal and see if there is an error.