Basic use of vscode----------Run the project in the workspace

If you don’t create a workspace, you can refer to my previous blog
. Basic use of vscode ------ create a workspace

The first step is to create a folder test in the workspace

Insert picture description here

The second step is to create an html file in the test directory,

Click the arrow as shown to create an html file or js file
Insert picture description here

The third step is to test and create an html file

Insert picture description here
You can write code in the hello.html file.
For example

<h1>hello world!</h1>

The fourth step is to run the code

Right-click on the file and run it to
Insert picture description heredisplay the following
Insert picture description here

Guess you like

Origin blog.csdn.net/he1234555/article/details/114971009