你将学到什么
Document Object Model (DOM)
JavaScript
Web Development
课程概况
If you want to take your website to the next level, the ability to incorporate interactivity is a must. But adding some of these types of capabilities requires a stronger programming language than HTML5 or CSS3, and JavaScript can provide just what you need. With just a basic understanding of the language, you can create a page that will react to common events such as page loads, mouse clicks & movements, and even keyboard input.
This course will introduce you to the basics of the JavaScript language. We will cover concepts such as variables, looping, functions, and even a little bit about debugging tools. You will understand how the Document Object Model (DOM) is used by JavaScript to identify and modify specific parts of your page. After the course, learners will be able to react to DOM Events and dynamically alter the contents and style of their page. The class will culminate in a final project – the creation of an interactive HTML5 form that accepts and verifies input.
This is the third course in the Web Design For Everybody specialization. A basic understanding of HTML and CSS is expected when you enroll in this class. Additional courses focus on enhancing the styling with responsive design and completing a capstone project.
课程大纲
第 1 周 Week One: Introduction to JavaScript
Welcome and Frequently Asked Questions
Lecture Materials
Assessment
Optional Material/Resources
Quiz: Week One
第 2 周 Week Two: Reacting to Your Audience
Resources
Lecture Materials
Assessment
作业: JavaScript Interactive Photo Gallery
第 3 周 Week Three: Arrays and Looping
Resources for Week Three
Lecture Materials
Assessment
Quiz: JavaScript Review
第 4 周 Week Four: Validating Form Data
Resources
Lecture Material
Assessments
Optional Material/Resources
作业: Autocomplete with JavaScript