I’m new to JavaScript and I kept hearing my teacher talk about event handler, event listener and I couldn’t decipher one from the other. This video is just what I needed. THANK YOU!
@Ifeomaa6 ай бұрын
Short and straight to the point, learnt helpful tips
@Jaycoda10 Жыл бұрын
brilliant just what I was looking for, simple and straight to the point, boom!
@kaanergunlu7836 Жыл бұрын
Well explained with clear examples, appreciated!
@bigshuff11 ай бұрын
Thank you for making this subject so easy to understand, I am so glad I persevered with my search and found you.
@therealspaceman34479 ай бұрын
This was a very useful video for me. I had previously wrapped button and such with divs to support two events at once. No more. Thank you.
@darrienjohnson90532 жыл бұрын
Thanks. This was simple and easy to understand appreciate it bro
@edwinlimo5354 Жыл бұрын
Great Patrick, your explanations are easy to understand
@sahanatelasng8812 Жыл бұрын
Really this video gave me a solution for my problem .... U are the best ... U solved it within few seconds .... In easy way..
@bluin6662 жыл бұрын
thx. that was pretty easy to understand
@essenzoffiziell84218 ай бұрын
thank you for your video... God Bless You with The Best All Things
@yuriinadilnyi3029 Жыл бұрын
I'd like to add that using EventListener allows you to add additional options if it's needed, cuz Im not sure if handlers do the same staff
@sip69632 жыл бұрын
Great video! Solved my doubt of 2hrs research. Kudos!
@hajimeippo8043 жыл бұрын
thank you ..this is the best explanation about difference between handler and listener. .I was confused about them very much. ....Subscribed 👍
@djfago6240 Жыл бұрын
Brilliant explanation. Thank you bro
@marky17562 жыл бұрын
Now I understand. Thanks a lot.👍
@Zen-lz1hc2 жыл бұрын
Like Thanks for the clear explication.
@aamir067 Жыл бұрын
thanks buddy. you really solved my confusion about event handler and listener.
@saravananarumugam1702Ай бұрын
Thanks for explaining ❤
@Prabh_cc8 ай бұрын
Helpful content❤❤❤, I'm glad that you are doing something useful😊
@reithmkil11689 ай бұрын
Bro thank you for this video, perfect explanation
@blueberry5992 Жыл бұрын
keep up the great work
@ScottIngram8 ай бұрын
Thank you. Very clear.
@philipparker113 Жыл бұрын
Thanks. Its very clear now.
@japhethachimba174 Жыл бұрын
Thanks for the awesome content, which theme are you using for your VSCODE bro
@sunyfilip8 ай бұрын
But you need to be careful if you are assigning those listeners dynamically....if you for example open dialog with that element again and you are assigning those listeners again, you will have all your listeners runned multiple times, so don't forget to remove listeners before taking your element away :)
@carloschaves88925 ай бұрын
Great example.
@hajimeippo8043 жыл бұрын
can you please make video about difference between let,const and various and when to use them?
@passionatechristianmaker10 ай бұрын
Great video, at work i hear these terms all the time but didn't get them initially
@anarosol61339 ай бұрын
Thank you!!
@yabool20016 ай бұрын
Nice job.
@GLHD-tl2hl2 ай бұрын
mind asking what font is this??... Too cool
@user-ig1tf5bx2e2 жыл бұрын
Thank you
@yousef78852 жыл бұрын
thank you very much
@jackmandu2 жыл бұрын
Is there a preference of which to use if you need to have multiple objects all call the same function? For example I need to have several form fields concatenated into a single field. Also, is there anything special that needs to be done with addEventListener depending on the type of input field, such as radio button vs. text vs. select field?
@jackmandu9 ай бұрын
The solution I used was to use the generally least preferred option, which is in-line HTML event handler where you can have multiple functions separated by semi-colons, such as onchange=“func1();func2()”.
@kolis_lady6 ай бұрын
How do you click once & comment 3 different lines at the same time? I'm also just learning a lot of shortcuts in the IDE
@jarawinpromsawat3 жыл бұрын
เทพจัดพี่
@chigurupati_s9 ай бұрын
Super bro
@offgridvince Жыл бұрын
Thanks
@Escko8 ай бұрын
thank you
@JoanManuelSB8 ай бұрын
nice
@akashanand26567 ай бұрын
What if I use handler and listener at the same time?
@mahtabvariyani Жыл бұрын
thanks
@AnilKumar-jx1hk9 ай бұрын
nice moustache btw
@ravisankar91222 ай бұрын
I love you
@Mohammed717934 ай бұрын
why no one is appreciating his typing sound?
@nitkarshchourasia24062 ай бұрын
🎯 Key Takeaways for quick navigation: 00:00 *🎶 Introduction to Event Handling in JavaScript* - Understanding the difference between event handlers and event listeners in JavaScript. - Overview of handling events using event handlers and event listeners. 00:30 *🖱️ Event Handlers in JavaScript* - Event handlers are properties of objects used to handle events. - Demonstrating event handling with an example of using the `onclick` event handler. - Limitation of event handlers: only one event handler for a specific event type. 01:51 *🔊 Event Listeners in JavaScript* - Event listeners are assigned to objects to listen for events and execute code accordingly. - Example of using the `addEventListener` method to handle click events. - Advantage of event listeners: ability to add multiple listeners for the same event. 03:41 *🔃 Comparison: Event Handlers vs. Event Listeners* - Experimenting with adding multiple event handlers and event listeners to understand their behavior. - Demonstration of the difference in behavior when adding multiple handlers/listeners. - General advice: prefer event listeners over event handlers for flexibility and scalability. Made with HARPA AI