FAQ: DOM Events with JavaScript - Event Object Properties

Here is another CodeCademy page explaining this. Actually, for this exercise, both event.target and this work fine. Vote What’s the difference between this, event.currentTarget, and event.target?

Screenshot from 2022-11-13 03-06-55