MENU

Fun & Interesting

Learn JavaScript Event Listeners In 18 Minutes

Web Dev Simplified 624,266 4 years ago
Video Not Working? Fix It Now

🚨 IMPORTANT: JavaScript Simplified Course: https://javascriptsimplified.com JavaScript events are one of the most important topics for you to learn. In this video I will dive into everything you need to know about JavaScript events to make sure you completely understand how they work. 📚 Materials/References: Arrow Functions Video: https://youtu.be/h33Srr5J9nY Event Listener Article: https://blog.webdevsimplified.com/2022-01/event-listeners 🧠 Concepts Covered: - addEventListener - Capture phase - Bubble phase - removeEventListener - Event delegation 🌎 Find Me Here: My Blog: https://blog.webdevsimplified.com My Courses: https://courses.webdevsimplified.com Patreon: https://www.patreon.com/WebDevSimplified Twitter: https://twitter.com/DevSimplified Discord: https://discord.gg/7StTjnR GitHub: https://github.com/WebDevSimplified CodePen: https://codepen.io/WebDevSimplified ⏱️ Timestamps: 00:00 - Introduction 00:56 - addEventListener Basics 03:52 - Event Bubbling/Capturing 09:12 - Stopping Event Propagation 10:45 - Run Event Only Once 11:19 - removeEventListener 13:17 - Event Delegation 17:48 - Outro #EventListener #WDS #JavaScript

Comment