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,249 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 :)