Especially, React-Router and Vue-Router etc.. , direct access to html file(file://) is not easy to test routing. So, simple server is useful to test frontend codes.
Install and start
For me, install it for global and call this by command.
npm install -g live-server
The command root becomes document root. Open index.html of current directly automatically.