# JS-Lesson2 **Repository Path**: zhoukuni/js-lesson2 ## Basic Information - **Project Name**: JS-Lesson2 - **Description**: 这是第二次前端课程仓库 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-03-17 - **Last Updated**: 2026-03-17 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 初次使用JS 1. 新建目录并且VS Code 打开 2. 新建Hello.html 3. 使用!加回车 快捷键 生成代码骨架并且修改标题 4. 使用liveserver 打开页面 测试其自动刷新功能 5. 初始化git 仓库并提交 > git config --global user.email "you@example.com" git config --global user.name "Your Name" 6. 执行git remote add origin 添加远端仓库 7. git push -u origin "master" 8. 使用script标签和alert方法 输出 锲而不舍,金石可镂 9. 再次进行git提交和推送到远端仓库 10. 实现3种js的引入方式 11. 再次进行git提交 12. 实现常用的输入输出语句, prompt\alert\console.lo\document.write 13. 再次进行git提交 14. 使用var 增加不同类型的变量 15. 再次进行git提交