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
.
Challenge: Build a Technical Documentation Page
Link to the challenge:
Learn to code. Build projects. Earn certifications.Since 2015, 40,000 graduates have gotten jobs at tech companies including Google, Apple, Amazon, and Microsoft.
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.
1 Like
miku86
August 18, 2020, 3:53pm
3
To open a file named index.html
in VSCode, you can type 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)
2 Likes
thankyou @skaparate i have been using firefox,
1 Like
thanks for your suggestion @miku86
1 Like