course
JS: DOM API
8 students
Course updated
25 July 2023
Included in the course
18 lessons (video or text)
18 exercises in the IDE
52 quizzes
Assistance in Discussions on the website
Access to other courses of the our platform
What you'll learn
- Bring web pages to life by adding interactivity to them
- Interact with any elements on the page, select them or change them
- Ensure JavaScript works universally in any browser
- Handle forms correctly
- Make AJAX requests to the server
- Use JQuery to handle DOM
Description
The browser is a special environment in which JavaScript gets the opportunity to interact with loaded website pages. To do this, the browser provides special objects with a large number of methods. With their help, we can perform any HTML transformations, adding interactivity to the page. No matter what framework or library is used, they all eventually work through these objects. Knowledge of this topic is the basis of front-end development, on which everything else is strung.
Course program
Estimated time: 20 hours
-
2
JavaScript in the browser
Learn to use js in the browser. Learn about the differences between server and client js. -
4
BOM objects
Learn the objects that allow you to control the browser through JavaScript -
7
Declarative DOM tree search
Learn the search methods: getElementById, querySelector and others. -
9
Manipulating the Dom tree
Learn how to change the DOM tree, add and remove elements. -
10
Managing DOM Nodes
Learn to modify elements. Understand the difference between attributes and properties. -
12
Introduction to events
Explore the event model of the browser. Learn the basic events and their features of work. -
15
Capturing and bubbling
Understand the stages of events. Learn how to capture an event and stop it from propagating. -
19
Do it yourself
Some additional tasks to help you consolidate the theory you've learned -
20
Additional resources
Some materials the Hexlet team have picked up. This will give you a more in-depth understanding of the topic
Challenges
We recommend working on these challenges after completing the course. They'll help you obtain more experience in programming and strengthen your new skills.
#
Challenge
completion rate