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?
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?