Install Node js - https://nodejs.org/en/
go to folder where you have html file:
npm install http-server -g
http-server
If you have specific html file. Run following command in CMD.- http-server fileName
by default port is 8080
Go to your browser and type localhost:8080
. Your Application should
run there.
If you want to run on different port: http-server fileName -p 9000
Note : To run your .js file run:
node fileName.js