I need help with an alternative to "Web Server for Chrome" extension provided by Chrome. I don't even want to download chrome let alone using it so is there any alternative to run HTMl and JS files on a web server? I want something very simple which does not require extra coding or effort. please and thank you.
CodePudding user response:
You should install a server software for this purpose like XAMPP server. No need to download a specific browser as long as you have the server software.
CodePudding user response:
Maybe you can do the following (if you have python installed ):
- Open command prompt
- Type cd your_path_to_folder_in_which_file_is_located
- Type the command :
python -m http.server
- Hit enter
- Open browser and enter localhost:8000
- Done! to cancel the server , hit CTRL C
If you do not have python then you can install Web Server for Chrome on any other browser . Edge , firefox .Simply go into the chrome web store and search the same . You should be able to add it the usual way. If you have a different browser , please inform me.