Steps to open HTML file locally:
-
Open index.html with Visual Studio Code (VSC).
-
Search for the Live Server extension (by Ritwick Dey) under the extension tab to the left and install this.
-
Right-click on the index.html file and select "Open with Live Server" and the file will open in your selected browser.