0 added
0 removed
Original
2026-01-01
Modified
2026-03-09
1
<p>We added a function and placed a handler, and all that we have left to do is check how the change event handler works.</p>
1
<p>We added a function and placed a handler, and all that we have left to do is check how the change event handler works.</p>
2
<p>Call the addCheckHandler function from the loop for each element in the items collection.</p>
2
<p>Call the addCheckHandler function from the loop for each element in the items collection.</p>
3
<p>Please note that the change event is triggered when the checkbox status is changed. This means that if the field is selected and we remove the checkmark from it, the event will also be triggered.</p>
3
<p>Please note that the change event is triggered when the checkbox status is changed. This means that if the field is selected and we remove the checkmark from it, the event will also be triggered.</p>
4
<p>In the course of working on the to-do list, we will constantly refer to DOM API methods. We already know what DOM is. Take, for example,<a>this</a>assignment. What is an API? This is a group of methods that allow us to interact with a certain part of a program or interface. In the case of the DOM API, these are all the methods that allow us to do something with the DOM elements.</p>
4
<p>In the course of working on the to-do list, we will constantly refer to DOM API methods. We already know what DOM is. Take, for example,<a>this</a>assignment. What is an API? This is a group of methods that allow us to interact with a certain part of a program or interface. In the case of the DOM API, these are all the methods that allow us to do something with the DOM elements.</p>
5
<p>In our app, various DOM API methods will come in useful for us. These include not only querySelector and addEventListener (yes, these are also DOM API methods). We will learn about other methods in the following assignments.</p>
5
<p>In our app, various DOM API methods will come in useful for us. These include not only querySelector and addEventListener (yes, these are also DOM API methods). We will learn about other methods in the following assignments.</p>