A Complete Overview of JavaScript Events - All You Need To Know

  Рет қаралды 116,399

dcode

dcode

Күн бұрын

Пікірлер: 99
@dcode-software
@dcode-software 2 жыл бұрын
*RELATED VIDEO: 5 POWERFUL JAVASCRIPT EVENTS* kzbin.info/www/bejne/jKaZYYKCrrGUY9k 🏷 *THE ULTIMATE JAVASCRIPT DOM CRASH COURSE* 👇 www.udemy.com/course/the-ultimate-javascript-dom-crash-course/?referralCode=DC343E5C8ED163F337E1
@lastspoil5547
@lastspoil5547 Жыл бұрын
This teacher give you real world examples from the start of the video! Thank you.
@shariafarooqui5748
@shariafarooqui5748 4 жыл бұрын
Please continue this JavaScript series, really helpful!
@dcode-software
@dcode-software 4 жыл бұрын
Awesome thank you! Will do 🙂
@beinyourguard
@beinyourguard 4 жыл бұрын
You deserve more views! I learn a lot watching your videos
@dcode-software
@dcode-software 4 жыл бұрын
Appreciate that, thanks!
@steliosalexandrakis78
@steliosalexandrakis78 4 жыл бұрын
I totally agree. Your teaching makes sense! Thanks a lot!
@mon0theist_tv
@mon0theist_tv Ай бұрын
Thank you, I was confused on the function(e) thing on another course, this helped 👍
@alistairtrotter3461
@alistairtrotter3461 3 жыл бұрын
Great introduction video to events! really appreciate the effort you put into this!
@parthasarathimoharana5282
@parthasarathimoharana5282 4 жыл бұрын
Indeed you are the best JS tutor Brother...Kudos
@dcode-software
@dcode-software 4 жыл бұрын
Cheers mate!
@parthasarathimoharana5282
@parthasarathimoharana5282 4 жыл бұрын
@@dcode-software I request you to make a playlist on React. If you have time for that.
@yevgeniyaterlyuk5248
@yevgeniyaterlyuk5248 3 жыл бұрын
Exactly what I needed! Thanks!
@house_sparrow1
@house_sparrow1 9 ай бұрын
wow! very detailed and easy explanation. Thanks!! 💜💜
@GaetanoBarreca
@GaetanoBarreca 2 жыл бұрын
Thanks!
@dcode-software
@dcode-software 2 жыл бұрын
You're welcome 😊 thank you for your donation!
@sejalsankhe3786
@sejalsankhe3786 Жыл бұрын
Thank you soo much for this video, it helped me a lot to understand that (e) heheh. i always used to be confused but now no more confusion. thanks a lot once again. 😄
@this_is_joydip
@this_is_joydip 9 ай бұрын
Thank you so much! Make more on Events of js please ❤❤
@Marjolein_1979
@Marjolein_1979 Жыл бұрын
I found the explanation of event object really useful.
@thisisnotjoshiswear828
@thisisnotjoshiswear828 2 жыл бұрын
If anyone is curious, to access the boxDiv DOM Object using the arrow function, you can get it from the event object target property (e.target)
@peterwafula3923
@peterwafula3923 Жыл бұрын
Thank you so much for explaining so well.
@jedt1
@jedt1 3 жыл бұрын
thx very helpful video! made it easy to understand what the 'e' or event object is since i was seeing it a lot when learning javascript :D
@dcode-software
@dcode-software 3 жыл бұрын
That was the main motivation behind this video! Thanks for watching
@photoinshot1355
@photoinshot1355 Жыл бұрын
Great video as ever thanks! Always well explained and very informative. Have you got a video on how to fire a functions on different events for example if I wanted to fire off a function on either , click, keyup or keydown with only one event listener rather than three? Thanks again.
@smitty1753
@smitty1753 Жыл бұрын
Thank you for helping me understand this.
@newentu
@newentu Жыл бұрын
Excelente curso men!!
@srinivasaraoyp3640
@srinivasaraoyp3640 Жыл бұрын
Very interesting topic, thank you.
@shanilka_wariyapperuma
@shanilka_wariyapperuma 2 жыл бұрын
This is GOLD!!! ❤❤
@dcode-software
@dcode-software 2 жыл бұрын
You're welcome!
@lyza2526
@lyza2526 2 жыл бұрын
Thank you. It's was helpful for me😊
@muhendis_
@muhendis_ Жыл бұрын
it was awesome video 💫
@Kaiseyo
@Kaiseyo 3 жыл бұрын
Thank you! I needed this
@dcode-software
@dcode-software 3 жыл бұрын
Glad it was helpful!
@BossPetta
@BossPetta 3 жыл бұрын
Very useful, thanks! 🙏🏼
@dcode-software
@dcode-software 3 жыл бұрын
🙂 you're welcome
@charlestoneoyoo
@charlestoneoyoo Жыл бұрын
Great video, thank you
@MuhammadAdnan2.0
@MuhammadAdnan2.0 4 жыл бұрын
Sir come with an E-commerce shop with features filters , product details page , sorting products etc. Using only JS and firebase. ?
@mcrmehmet
@mcrmehmet 3 жыл бұрын
I must admit that I repeated the video several times when dcode pronounce "MouseEvent" 10:36 and says "Notice how it says mouse events" must be the coolest thing I heard this week :) Finally a great explanation about the event objects, the "e" or "ev" or "event" always got me confused. Now I am completely enlightened. My question is that isn't the "this" keyword supposed to act like a method under the object and refer to the object or act like a standard function and refer to the window or global. Really didn't get how it referred "boxDiv". Also, the difference of standard and arrow functions when used with "this" keyword. I was thinking both types of functions are supposed to be acting equal 100%. Probably I need to dig more.
@dcode-software
@dcode-software 3 жыл бұрын
Hey thanks! I got a video on "this" in JavaScript I suggest you check it out
@mcrmehmet
@mcrmehmet 3 жыл бұрын
@@dcode-software Thanks Dom already jumped into "this"!
@frednicholson
@frednicholson 2 жыл бұрын
FWIW, was looking for multi-processing aspects of event handling. Mulitple event handlers, adding and deleting themselves from the event notification list, how is reentrancy handled, multiple event handlers, what if added twice, etc.
@nkhanhle8968
@nkhanhle8968 Жыл бұрын
Thank you so much!!!!
@EnzoAuditore
@EnzoAuditore 2 жыл бұрын
thank you for this.
@BlackFlux22
@BlackFlux22 2 жыл бұрын
Great tutorial, thank you
@dcode-software
@dcode-software 2 жыл бұрын
Glad it was helpful!
@haleynaga5671
@haleynaga5671 Жыл бұрын
Amazing!
@rostyslav5334
@rostyslav5334 4 жыл бұрын
'Like' instantly without even watching a video
@dcode-software
@dcode-software 4 жыл бұрын
Love it, thanks mate!
@adriansweg8092
@adriansweg8092 3 жыл бұрын
Gracias por el video! A veces se necesita que alguien lo explique de una manera diferente para entender los conceptos
@muneeburrehman4690
@muneeburrehman4690 2 жыл бұрын
Thank you!
@CHRIST.REIGNS
@CHRIST.REIGNS 6 ай бұрын
Thanks so much
@curlyt8198
@curlyt8198 3 жыл бұрын
Thank you very much 😃😍 !!!!!
@bhagyashreekhairnar683
@bhagyashreekhairnar683 Жыл бұрын
thank you :)
@andreisavitski6145
@andreisavitski6145 Жыл бұрын
Ok. talking about 'e' at 8:17. But why when you define your own event handler function you are obliged to specify a function argument there for passing the event into the function (Because MDN says its required, you can not reference event straight from the handler functions, for example, if you want to stopPropagation of the event, it gives error). While, when passing the handler function as argument in addEventListener , you can not pass an argument to the handler function, it gives an error at run time - i.e. you pass a handler function without passing any function argument to it "handleBoxClick" without "()" or "(e)"? I am a beginner, I do not understand it... the function must be defined with an argument, but when invoking the function no argument parameter passed to the function.... It feels weird and wrong... I do not know.
@andreisavitski6145
@andreisavitski6145 Жыл бұрын
Ok ChatGPT explained it to me clearly... "The reason you specify an argument parameter (in this case, event) in the definition of the event handler function but don't pass any arguments when calling it is due to how event listeners work in JavaScript. Event listeners are a mechanism provided by the browser's DOM (Document Object Model) API. When you attach an event listener to an element and specify a function as the handler, the browser itself will call that function when the event occurs, and it will automatically pass an event object as an argument to the function. So, when you define an event handler function, you're telling the browser, "When a 'click' event occurs on this element (box), call the handleBoxClick function and pass the event object automatically." The browser takes care of passing the event object, and you can access it within the handleBoxClick function as if you had passed it explicitly. This is part of how the DOM event handling system is designed to work in JavaScript, making it convenient for developers to work with events without manually passing event objects each time."
@noxius7332
@noxius7332 4 жыл бұрын
Saludos desde argentina 😎👍🇦🇷🇦🇷🇦🇷
@balenmohammed1657
@balenmohammed1657 2 жыл бұрын
Brilliant
@vesemechristiana5265
@vesemechristiana5265 Жыл бұрын
Thanks alot
@oceanview3165
@oceanview3165 2 жыл бұрын
Which vs code color extension did you use?
@pablozuta2402
@pablozuta2402 2 жыл бұрын
It's called 'dcode'
@oceanview3165
@oceanview3165 2 жыл бұрын
@@pablozuta2402 Thanks bruh! it looks lit 🔥
@onee
@onee 2 жыл бұрын
I seem to get PointerEvent instead of the MouseEvent.
@Martin958
@Martin958 4 жыл бұрын
Can you do a list of vids about Functions (all types inc. Anonymous, Self-invoking etc), Callbacks, Asynchronous JS, Promises, Async/Await and AJAX? Maybe one day.
@dcode-software
@dcode-software 4 жыл бұрын
I've got a few videos on those topics, particularly promises and the async/await syntax.
@Martin958
@Martin958 4 жыл бұрын
@@dcode-software I need to go through your list more. I already saw the XML Http request series which is amazing. To round it off we just need some vids on how to make an AJAX chatroom.
@akshadrathod9203
@akshadrathod9203 2 жыл бұрын
nice one
@capslock3250
@capslock3250 2 жыл бұрын
Thanks
@GoatCS
@GoatCS Жыл бұрын
What VS code theme is that?
@esnapeye7098
@esnapeye7098 3 жыл бұрын
How to call multiple functions parallely when multiple buttons invoking their respective functions are pressed together??
@justtestingmycurrentskills747
@justtestingmycurrentskills747 4 жыл бұрын
Nice Video
@dcode-software
@dcode-software 4 жыл бұрын
Cheers mate!
@vesemechristiana5265
@vesemechristiana5265 Жыл бұрын
Can anyone help me explain why my addEventListener is not working. Am using sublime text editor
@muhammadans2193
@muhammadans2193 4 жыл бұрын
please make a video on client-side form validation
@dcode-software
@dcode-software 4 жыл бұрын
Sounds like a good idea, thanks!
@ajithkumarv603
@ajithkumarv603 2 жыл бұрын
Wow awesome
@alvarobusquets
@alvarobusquets 2 жыл бұрын
Who needs this while chat gpt can solve everything
@folatech4404
@folatech4404 2 жыл бұрын
hey sir can you help me with a session on js I am working on creating a calculator
@sdaiwepm
@sdaiwepm Жыл бұрын
0:29 I see what you did there.
@logaimat5362
@logaimat5362 8 ай бұрын
pls next time use dark mode !!!
@Spunky_Tx
@Spunky_Tx 5 ай бұрын
😂
@chisomedoka5651
@chisomedoka5651 2 ай бұрын
Anyone here in 2024?
@Dexter101x
@Dexter101x 4 жыл бұрын
And I only found a particular even like yesterday, after searching for like billions of years of trying to code javascript. And it was only by luck as it would happen
@dcode-software
@dcode-software 4 жыл бұрын
Which event was it?
@Dexter101x
@Dexter101x 4 жыл бұрын
@@dcode-software addEventListner('load', ...), unbelievable I know
@dcode-software
@dcode-software 4 жыл бұрын
Oh cool, you should also look at the Document DOMContentLoaded event, it may interest you
@Dexter101x
@Dexter101x 4 жыл бұрын
@@dcode-software I found the list also yesterday, thanks your tutorials are good dude
@farhadcohan8867
@farhadcohan8867 7 ай бұрын
Why aren’t using external js file you making beginners confuse
@elvisreuben5002
@elvisreuben5002 4 жыл бұрын
Awesome 😍💋 💝💖♥️❤️
@noxius7332
@noxius7332 4 жыл бұрын
Que onda bebeta?
@brian9790
@brian9790 Жыл бұрын
Title "Complete overview" - "all you need to know" Thumb "Basics" Video "absolute less than basics"
@GRHmedia
@GRHmedia 3 ай бұрын
Far from all you need to know.
@zbysiu100
@zbysiu100 3 жыл бұрын
js is very messy, a lot of functions written in many ways
@mortezafarhangpanah256
@mortezafarhangpanah256 Жыл бұрын
Thanks
@AbdelillahELATTARI
@AbdelillahELATTARI 2 ай бұрын
What VS code theme is that?
@tomek_kot
@tomek_kot 3 ай бұрын
Thank you 💪
@نون-و5ب
@نون-و5ب Жыл бұрын
Thanks
@tamilmemerguy3200
@tamilmemerguy3200 Жыл бұрын
Thanks
Learn JavaScript Event Listeners In 18 Minutes
18:03
Web Dev Simplified
Рет қаралды 610 М.
5 POWERFUL JavaScript Events You Didn't Know
10:43
dcode
Рет қаралды 15 М.
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Learn JavaScript KEY EVENTS in 10+ minutes! ⌨
11:16
Bro Code
Рет қаралды 32 М.
JavaScript DOM Manipulation Mastery: A Comprehensive Guide
1:25:33
Envato Tuts+
Рет қаралды 50 М.
5 JavaScript Concepts You HAVE TO KNOW
9:38
James Q Quick
Рет қаралды 1,4 МЛН
JavaScript Visualized - Event Loop, Web APIs, (Micro)task Queue
12:35
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 499 М.
Learn DOM Manipulation In 18 Minutes
18:37
Web Dev Simplified
Рет қаралды 1 МЛН
Learn flexbox the easy way
34:04
Kevin Powell
Рет қаралды 742 М.
JavaScript Pro Tips - Code This, NOT That
12:37
Fireship
Рет қаралды 2,5 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН