Notably, and differently from the solution of the person originally issuing the challenge and from this HN entry of Rukshan answering to the challenge, I solved it including the three constrains:
• Esc to clear the list
• Enter to add item
• Click an item to cross/uncross it
Here is a cleaned-up and explained version of the same:
https://jsfiddle.net/franciscop/gexfdq1y/
https://twitter.com/FPresencia/status/1340952793352310785
Notably, and differently from the solution of the person originally issuing the challenge and from this HN entry of Rukshan answering to the challenge, I solved it including the three constrains:
• Esc to clear the list
• Enter to add item
• Click an item to cross/uncross it
Here is a cleaned-up and explained version of the same:
https://jsfiddle.net/franciscop/x1sc7rk9/