79735737

Date: 2025-08-14 17:43:34
Score: 0.5
Natty:
Report link

The problem is your buttons are added after the page loads, so your normal addEventListener doesn’t see them. The solution is event delegation listen for clicks on the whole page and check if the clicked element is a delete button.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Pritpal Singh