0 added
0 removed
Original
2026-01-01
Modified
2026-03-09
1
<p>The program has started to work with the live collection as it should. Now we can change the string output to the console to display a message on the app page.</p>
1
<p>The program has started to work with the live collection as it should. Now we can change the string output to the console to display a message on the app page.</p>
2
<p>To do this, we, as usual, must find the message in DOM and write it to the variable. And then we need to remove the hidden class from the message at the right moment so that it is displayed on the page. We already know how to remove classes. Use classList.remove() to do this.</p>
2
<p>To do this, we, as usual, must find the message in DOM and write it to the variable. And then we need to remove the hidden class from the message at the right moment so that it is displayed on the page. We already know how to remove classes. Use classList.remove() to do this.</p>
3
<p>Write the code and check that the message appears when all tasks in the list are completed.</p>
3
<p>Write the code and check that the message appears when all tasks in the list are completed.</p>
4
<p>children returns another collection type: HTMLCollection.</p>
4
<p>children returns another collection type: HTMLCollection.</p>
5
<p>This collection contains<b>only</b>DOM elements. It may not include text content or line breaks as separate elements. All HTMLCollection are live in contrast to NodeList. You can read more about this collection in the<a>specification</a>and on <a>MDN</a>.</p>
5
<p>This collection contains<b>only</b>DOM elements. It may not include text content or line breaks as separate elements. All HTMLCollection are live in contrast to NodeList. You can read more about this collection in the<a>specification</a>and on <a>MDN</a>.</p>