HTML Academy
  • HTML Academy
  • Courses
  • Tutorials
  • Courses
  • Tutorials
  • Sign up
  • Log in
  • Home
  • Interactive courses
  • Deep dive in JavaScript for browsers
  1. Introduction to JavaScript in the browser 0/21
  2. Getting to know events 0/23
  3. Working with DOM 0/22

Chapter 2: Getting to know events

21 task, 2 challenges, 2 summaries

We will learn how to update an old interface and process user events. We will find out what asynchrony, scope, and closure are and how they work. We will figure out a problem involving the organization of school lunches and program a pop-up window and gallery.

Start
1. Introduction to events Task
2. How to add a handler Task
3. How events are arranged Task
4. Default actions Task
5. Please pass the function Task
6. Hiding the popup Task
7. Pressing a key Task
8. Choosing a key Task
9. With one click Task
10. Summary of “Events in JavaScript”, part 1 Summary
11. First program: “Don’t be shy” Challenge
12. Welcome to our photo gallery Task
13. Click ’em all! Task
14. Adding an image Task
15. A bug has crept into the system Task
16. Scope Task
17. Global scope Task
18. Inside out variables Task
19. Becoming Independent Task
20. Closures Task
21. Let’s prepare for school Task
22. Fixing the gallery Task
23. Getting to the heart of the matter Task
24. Summary of “Events in JavaScript”, part 2 Summary
25. The Second Program: “Señor Tomato” Challenge

Cookies ∙ Privacy ∙ License Agreement ∙ About ∙ Contacts ∙ © HTML Academy OÜ, 2019−2025

VISAMastercard

Log in

or

Forgot your password?

Sign up

Sign up

or
Log in

Restore access

Have you forgotten your password or lost access to your profile? Enter your email connected to your profile and we will send you a link to restore access.

Forgot to connect your email to the profile? Email us and we’ll help.

We are using cookies to gather information which will help you use our website most effectively. You can read about this here or disable this feature if you want. By continuing to browse the site, you agree to our use of cookies.