3 ms·
Here is my attempt! Please note that in the original tweet the "code" including the 3rd party library seems to be excluded so I also excluded it: https://jsfid
by franciscop 6y ago
Here is my attempt! Please note that in the original tweet the "code" including the 3rd party library seems to be excluded so I also excluded it:
https://jsfiddle.net/franciscop/gexfdq1y/ https://jsfiddle.net/franciscop/gexfdq1y/
https://twitter.com/FPresencia/status/1340952793352310785 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/ https://jsfiddle.net/franciscop/x1sc7rk9/