javascript practice
To preview HTML files with Live Server:
- Install the Live Server extension (recommended in
.vscode/extensions.json). - Open
Basics/DOMmanipulation.html→ Right-click → Open with Live Server or click Go Live in the status bar.
If you're running in a dev container or remote environment:
- Live Server is configured to bind to
0.0.0.0and port5500by default in this workspace (.vscode/settings.json). - Make sure to forward port 5500 in VS Code's Ports view so you can open the page in your host browser.
Fallback (no extension):
- From the workspace root run:
python3 -m http.server 5500 --bind 0.0.0.0and openhttp://localhost:5500/Basics/DOMmanipulation.htmlin your browser.