DEV Community

Margarita Potylitsyna
Margarita Potylitsyna

Posted on

Run html from codespace πŸ”₯

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

Top comments (0)