How do I run my HTML in a browser using VS Code? I've tried to find instructions online but I cannot find a solution.
I tried adding this to my tasks.json
:
{
"version": "0.1.0",
"command": "explorer",
"windows": {
"command": "explorer.exe"
},
"args": ["index.html"]
}
But if I ctrl + shift + b
it just opens my documents folder instead of the browser. I tried the steps here: How to view my HTML code in browser with Visual Studio Code? but nothing has worked so far.