As a few people have pointed out, the parameter "e" can be named anything. Other common names for the event object parameter is "ev", "evt" or "event".
Here it is. If you call it not an event ("e" or "event"), but an object, then everything immediately becomes clearer. This is an event OBJECT! And this object has properties: .target, .ctrlKey, etc. Thanks for the video.
I was about to write the same exact words: crystal clear! You're very right. I know sometimes people or teacher's methods are fine for some persons, but I didn't really get it since this video.
Thx for the explenation. But my head still doesn't get it: Is it crucial to name it "event" or "e" or can it be called something different like "pastry" as an example? If yes, how does the function then knows, that it has to listen to the events and mark them or give them back as such?
At the opening of the video you can see where it came from. It’s a cropped image of the adding of an event listener. The opening parentheses just got cropped out
Would have been nice to explain too why "e". Can it be any other variable name, I assume that 'e' is used for simplicity, shorthand and laziness. but it could be "event", or "eventProperties" or "banana" - as the developer sees fit.
So to break it down for a stupid like me. Everything that is an event and is performed gets stored in a bundle of informations. In this case the e object.
What an incredibly bad video. What you're explaining in this video is what's inside the parameter passed to the callback function you provide to an event listener. But in your title you say that this is always the case when you see (e) in some code. Even in this case it 'e' can be named no matter what, some people like to name it 'event' etc...
Kinda confusing video, the conditional statement if(e.ctrlKey) doesn't actually check if the ctrl key is being pressed down or not, just if that property exists at all with the event object, regardless of it's Boolean value.
*RELATED VIDEO: COMPLETE OVERVIEW OF JAVASCRIPT EVENTS*
th-cam.com/video/YiOlaiscqDY/w-d-xo.html
🏷 *THE ULTIMATE JAVASCRIPT DOM CRASH COURSE* 👇
www.udemy.com/course/the-ultimate-javascript-dom-crash-course/?referralCode=DC343E5C8ED163F337E1
As a few people have pointed out, the parameter "e" can be named anything. Other common names for the event object parameter is "ev", "evt" or "event".
Here it is. If you call it not an event ("e" or "event"), but an object, then everything immediately becomes clearer. This is an event OBJECT! And this object has properties: .target, .ctrlKey, etc.
Thanks for the video.
Out of all the videos. I found this to be easiest and straight to the point. Thank you sir.
Crystal clear explanation. CRYSTAL!
I was about to write the same exact words: crystal clear! You're very right. I know sometimes people or teacher's methods are fine for some persons, but I didn't really get it since this video.
@@LaGrossePaulik I also understood only after watching this video
That's great! This is exactly what I needed to understand event.target. Thank you!
Great video man! Made this a lot clearer for me. Subscribed!
Great video and advice! I was a little hazy on my full understanding of the Event object , now I full understand it!
Wow, very well explained. This helped a lot. Thank you!
This makes things so much clearer
well done explaining this! Keep it up❤
Great explaination, thanks 👍
You're welcome!
Thanks man straight to the point, solved my doubt.
That was awesome. Thank you. When you showed console.log(e) and it was an object! my mind was blown
You're welcome! That's exactly what I was going for with this video. Glad you liked it 🙂
Thank you, this video made it easier to grasp the concept behind the event object
Thanks for the simple and straight forward explanation!
You're welcome
Bro😍😍😍😍 thnkyu so much
Thanks 😊😊
I am searching for this finally I found it. Thank u so much.
Thanks bro.... Bring some big project
Soon 😊
Thank you, perfect explanation
Thank you bro, I was stuck with this, now you explained.
Short & Sweet 🔥✌️
you solved my code problem by uploading this short video just great 😎
That's awesome!!
thank you so much 💟
My Supreme Leader Thanks for all!
Thank you soo much!!🙏🏼
Thank you! So concise!
You're welcome
Thank you ❤
Thank you so much 🎉
You're welcome. Thanks for subscribing 💪
Short and sweet! 👌
This was very confusing to me. Thanks a lot for clearing
great explanation!
Very heplful, thanks so much :)
thanksss, this help me a lot\
This video is really help me...
I'm spanish speaking, but i understood almost all you said.
That's great!
@@dcode-software fortunately emojis are universal.
Brilliant as usual.
Thx for the explenation. But my head still doesn't get it: Is it crucial to name it "event" or "e" or can it be called something different like "pastry" as an example? If yes, how does the function then knows, that it has to listen to the events and mark them or give them back as such?
Cool theme, can I know the name of the theme please?
thank you
thanks mate
thank you!
Thanks!!
Came here to tell you that you added an extra round bracket to the function in the thumbnail 😂😂😂. Nice tutorial btw.
🤣🤣 oh no.. probably going to leave it
At the opening of the video you can see where it came from. It’s a cropped image of the adding of an event listener. The opening parentheses just got cropped out
@@gmangsxr750 nice observation
What is the name of theme?
Nice tutorial on the basics of Events in JavaScript. Thanks, Dom
{2021-08-17}
Glad it was helpful 🙂
Helpful
Thanks
I get a pointerEvent instead of mouseEvent is that wrong?
Man you're awesome
You too
Brilliant
which font?
Roboto Mono
0:23
is this deprecated?
(e) contain informations about event
Would have been nice to explain too why "e". Can it be any other variable name, I assume that 'e' is used for simplicity, shorthand and laziness. but it could be "event", or "eventProperties" or "banana" - as the developer sees fit.
your a fuckin g bro
🐤🎉
So to break it down for a stupid like me. Everything that is an event and is performed gets stored in a bundle of informations. In this case the e object.
Why don't everyone just explain things like this? Teachers make things so complicated for someone who is new to programming
i love you
Which clown thumbs downed the video
Always that one guy, haha.
*e*
E
What an incredibly bad video. What you're explaining in this video is what's inside the parameter passed to the callback function you provide to an event listener. But in your title you say that this is always the case when you see (e) in some code. Even in this case it 'e' can be named no matter what, some people like to name it 'event' etc...
First
Hmm...
Kinda confusing video, the conditional statement if(e.ctrlKey) doesn't actually check if the ctrl key is being pressed down or not, just if that property exists at all with the event object, regardless of it's Boolean value.
Worst video ever. Logged e to the console and checked mdn docs. Damn, never would have thought of that.
thank you!
thank you!