how to use live server in vs code code example
Example 1: VS Code Live Server configuration
Go to Run Tool-> Click Add Configuration
Choose -> Chrome Launch -> Enter -> Set of codes will Display, Change the Url Path
Ex:http://127.0.0.1:5500/clone.html
Example 2: npl live server doesn't load js
I had:
src="/main.js"
And it has to be:
src="./main.js"
TheFix= add dot before the file name ./file.js