first host your site
then on vscode read whatever port it tells you that your server is hosting on (it shows that in the same spot it previously said go live before clicking it)
go into your browser and enter localhost:5501 and replace the 5501 with whatever your port says
problem solved!