My Telegram: https://t.me/stackdevru
In the first part of the video, we'll explore the Event object in JavaScript and pay special attention to its properties: target and currentTarget.
In the second part of the video, we'll explore the three phases of the event lifecycle in JavaScript:
1) Capturing phase
2) Target phase
3) Bubbling phase
We'll also use the .stopPropagation() method to stop the propagation of events between elements.
My Courses:
Gatsby JS (full course): https://gatsbyjs.ru
React for Beginners: https://react001.ru
All my courses (+ source files): https://stackdev.ru
Follow me on social media:
Telegram: https://t.me/stackdevru
VK: https://vk.com/vasilymur
Instagram: / vm_online
My blog about web development: https://stackdev.blog