如何创建第一个js的project,js project 的hello world?

如何创建第一个js的project,js project 的hello world?

Getting started with WebStorm | WebStorm​​​​​​​1

1、创建一个js相关的project;

有如下的project :Node.js、React、Vue;

2、如何创建一个js project的helloworld

3、创建一个html文件

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Hello World</title>
</head>
<body>
<h1>我的第一个web页面</h1>
<p>我的第一个段落</p>

<script !src="">
    document.write(Date())
</script>

</body>
</html>

4、在script中写入js的code

5、如何执行;html文件,或者js文件?

 

6、如何添加断点?

请参考如下的连接:

Debug code | WebStorm

posted @ 2022-03-20 21:33  bH1pJ  阅读(13)  评论(0编辑  收藏  举报