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

JavaScript Treehouse Club - MASH MASH - CSS Opening up Dev Tools

Jaime Castro
Jaime Castro
1,559 Points

Hi, I want to know how I can set up a local testing server. I tried it with python and node.js, but had no luck so far.

Hello, I am a complete beginner. When I was trying the HTML Mash Course, there was a link to the mdn web docs to students could find out more about forms. In this site, I found some information about setting up a local web server, which I tried to do because I thought it would be useful to practice and see my work on the browser. But neither Python's Simple HTTP Server module nor node.js instructions on how to set up a local server for web development testing seemed to work. And even though I got as far starting up the http-server command on my command prompt, I still could not preview any of my code on the web browser. Is there a really simple way to set up a local web server?

1 Answer

Spencer Bigum
Spencer Bigum
3,250 Points

Hey Jaime,

Until you're a little more experience dev I would recommend using Prepros or CodeKit or CodePen possibly.

https://prepros.io/ https://codekitapp.com/ https://codepen.io/

Jaime Castro
Jaime Castro
1,559 Points

Thank you so much for helping me :)