EVENT.TARGET, in JavaScript, Simplified
Deeecode
0:00 / 0:00
EVENT.TARGET, in JavaScript, Simplified
30 083 просмотра · 3 года назад
Deeecode
16,6 тыс. подписчиков
30 083 просмотра · 3 года назад
When handling events, an event object, containing all the information about the event, is passed to the callback function you provide. One major property of this event object, is the target property, which contains information about the element that received the event.
In this video, I use examples to explain this property and show why its relevant.
Useful links:
querySelector explained: • HOW TO SELECT DOM ELEMENTS - #1 querySele...
Event Bubbling: • Event Bubbling in JavaScript, Simplified
Event Delegation: • Event Delegation in JavaScript, Simplified
Object Destructuring: • Object Destructuring Simplified
Check out my JavaScript Simplified playlist where I simplify different concepts in JavaScript: • JavaScript Simplified
_____
Subscribe to My Channel: https://bit.ly/deeecode
_____
🌟 About Me:
Dillion Megida, creator of DEEECODE, is a Software Engineer, Developer Advocate and a Content Creator passionate about simplifying topics around Tech via articles and videos.
_____
⚡️ Connect with me:
Personal youtube: / dillionmegida
Personal website: https://dillionmegida.com/
Twitter: / iamdillion
Instagram: / deeecode
LinkedIn: / dillionmegida
GitHub: https://github.com/dillionmegida
_____
#deeecode