To run the app on your computer using vs code.
-
open the vs code extension tab and install an extension with the name "Live Server (Five Server)". It allow us to run our application easily.
-
after installation enable the application.
-
after that look at the bottom right corner of the screen, you will see a button that says "Go Live".
-
click on it and it will automatically open the application in a browser (sometimes you might need to click it again after it loads).
or alternatively after enabling the extension, right click on any html file in the folder from vs code and click on the "open with five server" and it will automatically load.