how to open html and css file on vscode and browser using command in terminal
Your code so far
Your browser information:
User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0
Challenge: Build a Technical Documentation Page
Link to the challenge:
Hello!
If you want to a HTML file from the terminal and, depending on your OS and the browsers you have installed, you may be able to run this: firefox index.html, assuming the file index.html exists. Replace firefox with any other browser installed.
firefox index.html
index.html
firefox
To open a file named index.html in VSCode, you can type code index.html
code index.html
To create a new file named index.html in VSCode, you can also use code index.html
To open a folder in VSCode, go into the folder and type code . (this is a dot)
code .
thankyou @skaparate i have been using firefox,
thanks for your suggestion @miku86