Hi, I would like to create multiple to do lists and add the ability to strike out text when clicked on a li element.
I'm using the code of this lesson: https://www.w3schools.com/howto/howto_js_todolist.asp. The problem is that if I add another list and click on a li element, it does not strike out text. It strikes out text only from the first list. How can I do that so it works in multiple lists?
Thanks in advance.