- Open your Codespace and the folder that contains index.html.
- Open the integrated terminal.
- Run one of these:
- If Python 3 is available:
python3 -m http.server 8000 - Or with npm (if installed):
npx http-server -p 8000
python3 -m http.server 8000
npx http-server -p 8000
Top comments (0)