In this beginning-level course you will discover where JavaScript fits into the world of web development. Through hands-on exercises, you will use the Notepad++ text editor to embed JavaScript code to an existing HTML document. As you code a simple JavaScript program to provide user interaction you will learn to recognize and apply syntax rules and coding standards associated with JavaScript. The final activity in the course has you moving your JavaScript code into an external file so that you can compare inline and external JavaScript.

您将学到什么
Describe the purpose of JavaScript.
Write and test a simple JavaScript program.
Compare inline and external JavaScript.
您将练习的技能
要了解的详细信息

添加到您的领英档案
仅桌面可用
了解顶级公司的员工如何掌握热门技能

在 2 小时内学习、练习并应用岗位必备技能
- 接受行业专家的培训
- 获得解决实训工作任务的实践经验
- 使用最新的工具和技术来建立信心

关于此指导项目
分步进行学习
在与您的工作区一起在分屏中播放的视频中,您的授课教师将指导您完成每个步骤:
-
Discuss how JavaScript fits into the world of web development.
-
Add the HTML script element to an HTML document in preparation for adding JavaScript code.
-
Describe the various syntax rules and coding standards that typically apply to JavaScript code.
-
Write the JavaScript code to prompt for a name and display a greeting on the screen.
-
Explain the difference between inline and external JavaScript in terms of storage and application.
推荐体验
Completion of Introduction to HTML or a basic knowledge of HTML elements and syntax is recommended.
5个项目图片
位教师

提供方
学习方式
基于技能的实践学习
通过完成与工作相关的任务来练习新技能。
专家指导
使用独特的并排界面,按照预先录制的专家视频操作。
无需下载或安装
在预配置的云工作空间中访问所需的工具和资源。
仅在台式计算机上可用
此指导项目专为具有可靠互联网连接的笔记本电脑或台式计算机而设计,而不是移动设备。
人们为什么选择 Coursera 来帮助自己实现职业发展

Felipe M.

Jennifer J.

Larry W.

Chaitanya A.
学生评论
- 5 stars
63.30%
- 4 stars
25.68%
- 3 stars
6.42%
- 2 stars
3.66%
- 1 star
0.91%
显示 3/109 个
已于 Jan 6, 2024审阅
Great introduction to JavaScript! Really informative and fun to do it along!
已于 Nov 8, 2020审阅
It is really helpful for the beginner. I have enjoyed learning it.
已于 Feb 17, 2025审阅
The content is much less than i expected. and it takes 1 hour to complete this project
您可能还喜欢

University of California, Davis





