HTML Diff
0 added 0 removed
Original 2026-01-01
Modified 2026-03-09
1 <p>We have already figured out events in JavaScript, and we did a great job with the popups and galleries. The boss has really come to appreciate our successes, and he has assigned us a new task that is more serious.</p>
1 <p>We have already figured out events in JavaScript, and we did a great job with the popups and galleries. The boss has really come to appreciate our successes, and he has assigned us a new task that is more serious.</p>
2 <blockquote><p>Meow! We have a new order. We need to program a to-do list app.</p>
2 <blockquote><p>Meow! We have a new order. We need to program a to-do list app.</p>
3 <p>The layout is already prepared, but all of the rest depends on you:</p>
3 <p>The layout is already prepared, but all of the rest depends on you:</p>
4 <ul><li>A task is considered completed and disappears if the user clicks the checkbox.</li>
4 <ul><li>A task is considered completed and disappears if the user clicks the checkbox.</li>
5 <li>If all of the tasks are completed, then a message should be displayed informing the user that there are no more tasks.</li>
5 <li>If all of the tasks are completed, then a message should be displayed informing the user that there are no more tasks.</li>
6 <li>If a new task is added to an empty list, the message disappears.</li>
6 <li>If a new task is added to an empty list, the message disappears.</li>
7 <li>To add a new task, you must enter a description in the input field and press “Add task”. The task will then appear at the end of the list.</li>
7 <li>To add a new task, you must enter a description in the input field and press “Add task”. The task will then appear at the end of the list.</li>
8 </ul><p>Complete all of the work quickly and to high quality standards. I know you are up to the task. I look forward to the final result!</p>
8 </ul><p>Complete all of the work quickly and to high quality standards. I know you are up to the task. I look forward to the final result!</p>
9 </blockquote><p>We have been entrusted with their service. And it wasn’t all that long ago when we wrote our first console.log()!</p>
9 </blockquote><p>We have been entrusted with their service. And it wasn’t all that long ago when we wrote our first console.log()!</p>
10 <p>That’s enough with the sentimental reflections. We are professionals, after all. Let’s start with carrying out the project specifications. Let’s go through the items in the list. Let’s figure out how to remove the completed tasks. In order to perform actions with tasks, we need to know how to find them and write them as variables. We already know how to do this. The list itself is an element with the todo-list class, and each list item has the todo-list-item class.</p>
10 <p>That’s enough with the sentimental reflections. We are professionals, after all. Let’s start with carrying out the project specifications. Let’s go through the items in the list. Let’s figure out how to remove the completed tasks. In order to perform actions with tasks, we need to know how to find them and write them as variables. We already know how to do this. The list itself is an element with the todo-list class, and each list item has the todo-list-item class.</p>
11 <p>Find the list and each task in the list using querySelector and querySelectorAll, and make sure that everything has been completed correctly.</p>
11 <p>Find the list and each task in the list using querySelector and querySelectorAll, and make sure that everything has been completed correctly.</p>
12 <p>We already learned about querySelector<a>here</a>, and we also covered querySelectorAll<a>here</a>.</p>
12 <p>We already learned about querySelector<a>here</a>, and we also covered querySelectorAll<a>here</a>.</p>