Install the Live Server extension in VS Code. Click the Extensions icon (or press Ctrl+Shift+X), search for "Live Server", and click Install.
With Live Server, right-click your index.html file and select "Open with Live Server". Your page opens in a browser and refreshes automatically whenever you save changes. This immediate feedback speeds up your learning. No more manually refreshing after every edit.