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 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
MOD
Clayton Perszyk
Treehouse Moderator 48,723 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.