0 added
0 removed
Original
2026-01-01
Modified
2026-03-09
1
<p>Fantastic! We are able to add and remove a task.</p>
1
<p>Fantastic! We are able to add and remove a task.</p>
2
<p>There are just a couple of small details to work out. We need to be able to hide the message if more tasks are added to the list. To do this, we add the else branch to the toggleEmptyListMessage function. In it, we will add the hidden class to the paragraph with the message. We will call this function immediately after when the task is added to the list.</p>
2
<p>There are just a couple of small details to work out. We need to be able to hide the message if more tasks are added to the list. To do this, we add the else branch to the toggleEmptyListMessage function. In it, we will add the hidden class to the paragraph with the message. We will call this function immediately after when the task is added to the list.</p>
3
<p>Furthermore, we will delete the text from the input field after the task is added to the page. This is a small but pleasant feature for users, since they will not have to delete the text manually each time before adding a new task.</p>
3
<p>Furthermore, we will delete the text from the input field after the task is added to the page. This is a small but pleasant feature for users, since they will not have to delete the text manually each time before adding a new task.</p>