I'm using VS code and when I try to see how my code looks online (online) the page is either blank or if I choose run to cursor it shows my code just what I have in VS code The way it is written, rather than the browser displaying it. It used to show up, but doesn't show up anymore. The only time it shows my work is when I use the udemy zip file I downloaded for a class project. It works for these files, but once I create a new boilerplate/file, nothing happens. Can anyone help? I have a Dell G515 Windows. I'll attach a screenshot. Enter image description hereEnter image description hereEnter image description hereEnter image description here
I tried restarting both apps and logging in with my profile, but still nothing.
Try naming the "boilerplate" file "boilerplate.html". If you want something to be displayed when you start the live server, you have to put it in an index.html file in the root of your VS Code workspace folder, or in whatever folder you specify in your liveServer.settings .root settings.