vaarunh / lets-do-it

A simple ToDo List webapp created using JavaScript, HTML & CSS.
11 stars 36 forks source link

Single function for onclick actions in the completed tasks section #44

Closed loud-mouth closed 3 years ago

loud-mouth commented 3 years ago

Hi @varunherlekar, I think we should consolidate the onClick code for the list items in the completed tasks section into a single function and add it as an addEventListener to the completedItems variable. Currently, it exists as separate functions.

I think this will help clean up the code. I would like to work on this. Thanks.