use event.currentTarget which points to the element that you attached the listener. It does not change as the event bubbles
https://developer.mozilla.org/en-US/docs/Web/API/Event/currentTarget
use event.currentTarget which points to the element that you attached the listener. It does not change as the event bubbles
https://developer.mozilla.org/en-US/docs/Web/API/Event/currentTarget