Description
When clicking on a task item in the to-do list, the code attempts to toggle the CSS class completedTask. However, the stylesheet only defines a .completed class.
Because of this mismatch, tasks do not visually update to show as completed (line-through styling is missing).