Learn JavaScript Event Listeners In 18 Minutes

Поділитися
Вставка
  • Опубліковано 27 гру 2024

КОМЕНТАРІ •

  • @samuelamare3080
    @samuelamare3080 4 роки тому +548

    I don't know what's more perfect, this guy's tutorials or his hair!

  • @ShinAkuma
    @ShinAkuma 4 роки тому +489

    This is the hands down the best tutorial I've ever seen on event listeners.

    • @bk._550
      @bk._550 4 роки тому +1

      ok

    • @Ali-mc4le
      @Ali-mc4le 4 роки тому +1

      www.udemy.com/course/coding-interview-crash-course-for-web-developer-2020/?couponCode=ADA6B72288D49A1CAE25

    • @AndrewTSq
      @AndrewTSq 4 роки тому +5

      This is the hands down the best comment I've ever seen on videos on event listeners. :-) No he is a good guy who do great videos.

    • @silentxcure
      @silentxcure 4 роки тому +4

      @@AndrewTSq This is the hands down the best response to a comment I've ever seen on videos on event listeners.

    • @_shuu9472
      @_shuu9472 3 роки тому +4

      To me he's the best tutor i've ever found on the internet

  • @fredcmor
    @fredcmor 2 роки тому +3

    Thanks

  • @oortcloud210
    @oortcloud210 Рік тому +12

    Been coding in JS for 25 years and didn't know about doing a matches call on an event object.
    It's why I look at videos like this now and then. To refresh and also because you are always learning something new!

  • @Wesley-Insley-Comedy
    @Wesley-Insley-Comedy 4 роки тому +163

    WDS is so nice. no "WHATS UP GUYS AND TODAAY WE ARE LEARNINGGG" - nope. Just a nice, calm, easy to listen to voice and concise and succinct explanations. six months ago I didn't know the difference between the different css selectors and now I am comfortable with react & have started working with firebase. MOST of that came knowledge came from this channel. Couldn't be more grateful. Thanks dude!

  • @ChrispyChris3
    @ChrispyChris3 2 роки тому +2

    The way dude talks super chill and laid back, while not being monotone, AND explaining things well is pretty amazing!

  • @sapindersingh1165
    @sapindersingh1165 4 роки тому +147

    I rarely like a video on youtube and this one deserves it. These 18 minutes just leveled up my knowledge about event listeners. Thanks Kyle!

  • @stevenleonmusic
    @stevenleonmusic 3 роки тому +1

    I love event delegation but the one caveat I have is that e. target is always the *most deeply-nested* element. If you want to have your delegate listen for a click event you will be sorely disappointed when it never runs or behaves unexpectedly because your elements are the actual click targets. I've been looking for a clean solution but the easiest thing is to just use a selector that will include the child elements or base everything on the child elements instead of trying to do a container element.

  • @valeriatapia1128
    @valeriatapia1128 2 роки тому +9

    I FINALLY UNDERSTAND event listeners!! Thanks Kyle!! You're a life saver!

  • @Pareshbpatel
    @Pareshbpatel 3 роки тому +6

    Listen up! - This is, by far , the best tutorial on event listeners I have ever come across. Thank you, Kyle
    {2021-06-29}

  • @sanghvian
    @sanghvian 4 роки тому +36

    It's just unreal how amazing you are at teaching new concepts as well as making us rethink learnt ones with a fresh and novel direction. Thanks a lot !!!

  • @maxathanja
    @maxathanja 4 роки тому +28

    Wow, this is just what I need at the moment. You’re a lifesaver, thanks!

  • @gettingComputey
    @gettingComputey 4 роки тому +15

    I've seen a lot of event listener tutorials and this one is best explained. Thank you!

  • @AndrewMelnychuk0seen
    @AndrewMelnychuk0seen 3 роки тому +1

    I'm coming from C++ and python and your videos have made me way less mad at javascript. Keep up the great work.

  • @ashkanahmadi
    @ashkanahmadi 3 роки тому

    I was scratching my head for DAYS how to solve the event delegation problem. This finally solved my problem. THANK YOU

  • @mayankstylerock
    @mayankstylerock 3 роки тому +4

    The best video of Js and u truly do justice with your channel name "Simplified". Thanks for your hard work man

  • @bigbtripathi
    @bigbtripathi 2 роки тому

    This is the best explanation of event listeners that I have found in youtube so far.

  • @thewetfly9207
    @thewetfly9207 2 роки тому +5

    Add Event Listener for future elements blow my mind. Respect 😎

  • @raamch
    @raamch 2 роки тому

    You're a leader... Who inspires many and leads the beginner warriors.

  • @azuboof
    @azuboof Рік тому +1

    wait how the fuck am i understanding it all even when im tired and sleepy and not putting 100% attention its just flowing into my ears, the explanation is so simple and good. Thank you goat

  • @indratejdev3691
    @indratejdev3691 2 роки тому

    When it comes to webdevelopment. he is one of the youtuber who explains simple,crisp and clear. Thank you so much.

  • @Bebsi42069
    @Bebsi42069 2 роки тому

    When looking for to wrap 1 click event listener around multiple buttons but have each button do it's own thing this pops up and is an absolute god send, now I can clean up my clunky code and publish my Accessibility extention!!!!!! Finally after weeks of errors a solution arrives in hair slick back

  • @namesaditya
    @namesaditya Рік тому

    The last one - adding the globalEventListener is a really good trick. Thanks man

  • @jsmastery1931
    @jsmastery1931 3 роки тому

    dude i swear u have special talent in simplifying stuff.....

  • @wilsonemmanuel1352
    @wilsonemmanuel1352 2 роки тому +2

    Best JavaScript explanation so far 😊

  • @pavkey88
    @pavkey88 3 роки тому +2

    Not only is this a great tutorial on event listeners, it’s also a great way to approach learning how to debug

  • @chandrakant6283
    @chandrakant6283 3 роки тому

    I've been struggling to understand Delegation & Event Flow, but thanx to this guy now I've understood it well and likely will never forget.

  • @richardramirez5746
    @richardramirez5746 2 роки тому

    It's really useful to watch your videos. You keep the same calmed speaking.. I appreciate that!

  • @oujisanhikari18
    @oujisanhikari18 4 місяці тому

    Excellent explanation hands down best eventListner tutorial I've come across, it's insane how easy to digest it was, Thank you Kyle

  • @michaeljohnson1576
    @michaeljohnson1576 2 роки тому +1

    Hey there, Web Dev Simplified! I just wanted to say that your video on avoiding getting stuck on JavaScript by doing simple things really helped me. Since then, I have attempted to change the way I study JavaScript and while I can't say that I'm striding, I'm definitely moving at a faster pace. I hope you realize just how much you mean to us! Like seriously, your calm mentoring demeanor alone makes these lessons so much more watchable. Thanks a ton!

  • @michaeld663
    @michaeld663 3 роки тому +1

    Thanks solved my problem with the event delegation. I spent like an hour trying to figure it out.

  • @fredcmor
    @fredcmor 2 роки тому +4

    All the sudden I had to start working with JavaScript and I did not put my hands on it since… somewhere around 2008. Your crash courses are being a life savior. Thanks. Btw, great job!

    • @Danelius90
      @Danelius90 2 роки тому

      Same! I'm a fairly experienced backend engineer that's managed to avoid JS for a lot of my career. Now I have to work with it these videos are so good!

    • @NaveenYadav-gr4sc
      @NaveenYadav-gr4sc 2 роки тому

      @@Danelius90 👍🙏v TVllkjcvl l
      No jio k

    • @NaveenYadav-gr4sc
      @NaveenYadav-gr4sc 2 роки тому

      @@Danelius90 l

    • @NaveenYadav-gr4sc
      @NaveenYadav-gr4sc 2 роки тому

      Ppnnpkpppj knjjnknkpp

    • @NaveenYadav-gr4sc
      @NaveenYadav-gr4sc 2 роки тому

      Hn la jlkpjkplmlm
      Vflov
      Bbkpk
      Kkmp

  • @peksonholinificent7056
    @peksonholinificent7056 2 роки тому

    I think Kyle is cool. His English is clean and simple, knows his stuff and is a great teacher...so you know what,let me just smash that subscribe button!

  • @kenkinyua7036
    @kenkinyua7036 2 роки тому

    i learned a lot , this by far the best channel for me in coding ....thanks

  • @deniskotov
    @deniskotov 3 роки тому +1

    Your channel is a chest of gold for me! Thanks a lot!

  • @angelsunshine885
    @angelsunshine885 2 роки тому +6

    You Sir, my FANTASTIC teacher! Thank you from the bottom of my heart for providing such valuable and well-explained content!

  • @aluuusch
    @aluuusch 3 роки тому +2

    It's a very good tutorial. That being said you might wanna show the html-file shortly in the beginning of the video - just for a better understanding.

  • @samirkhatri-dev
    @samirkhatri-dev 3 роки тому

    Kyle does good and in-depth research regarding any topic. Best Video.

  • @bmehder
    @bmehder 3 роки тому +1

    I never knew how much I didn't know about event listeners. Excellent tut as usual.

  • @leg875
    @leg875 Рік тому

    Quality teaching. Seen couple of videos and landed here, you brought smile into my face. Narration matters :)

  • @aneeqak
    @aneeqak 4 роки тому +4

    u r my mentor, U made the whole web alot more simpler and interesting

  • @abhishekmakhun3118
    @abhishekmakhun3118 2 роки тому

    Mate, this is the best channel on youtube.

  • @PunkSage
    @PunkSage 2 роки тому +4

    Excellent explanation. I think that a difference between stopPropagation vs stopImmediatePropagation was also worth mentioning.

  • @reaperforever8478
    @reaperforever8478 3 роки тому

    This has made my day , I have been working on a routine app to better schedule my classes , in vanilla js with ejs as a templating engine , used a event listener to attach to a modal for picking the time but I needed some way to delete the event listener after I'm done otherwise it would change all the dates at once , this has saved soo much time

  • @kirksurber7262
    @kirksurber7262 2 роки тому

    just spent 12 hours yesterday trying to figure why a delete button wouldn't function on a shopping list I'm making. Here you are explaining it in minutes lol

  • @MecksOnwenu
    @MecksOnwenu 4 роки тому +1

    This is very informative. Eventlisteners are a real deal in JavaScript DOM interactions.

  • @Ruth5664
    @Ruth5664 2 роки тому

    This is the clearest and neatest that the Event Listeners can get. Thanks buddy!

  • @lucianasuciu4798
    @lucianasuciu4798 2 роки тому +6

    You're my favorite professor :))) Your videos are amazing , i learned a lot . Thank you so much for your work !

  • @DaddyChronic
    @DaddyChronic 3 роки тому

    I am doing JS since 1998 and learned a lot. Thank You

  • @davidrowlands8962
    @davidrowlands8962 4 роки тому

    I had understood bubbling since we commonly deal with it, but never really got my head around capturing until this video. Now I understand the third argument in the event parameters. This video has made it crystal clear to me. Thanks very much.

  • @parmeetsingh9766
    @parmeetsingh9766 3 роки тому

    Clean . Crisp . To the point . Hands down , thank god it was the first tutorial i saw

  • @zakariairkha2096
    @zakariairkha2096 3 роки тому

    Thank u much. U literally just solved my life with that event delegation.

  • @CoryJaccino
    @CoryJaccino 4 роки тому +3

    This is one of many reasons why I’ve bought all of his courses.

    • @CoryJaccino
      @CoryJaccino 4 роки тому +1

      I’d love to see another video on that last part - or even a course - on React (or Angular since I’m starting to learn observables) and event listener best practices. The more projects the better. Thanks for this great video, Kyle!

    • @WebDevSimplified
      @WebDevSimplified  4 роки тому +3

      Thank you so much for the support. I will keep this in mind for when I update my React course.

    • @Ali-mc4le
      @Ali-mc4le 4 роки тому +1

      www.udemy.com/course/coding-interview-crash-course-for-web-developer-2020/?couponCode=ADA6B72288D49A1CAE25

    • @CoryJaccino
      @CoryJaccino 4 роки тому +1

      @@WebDevSimplified Hey Kyle, I think Ali is on to something. You could make an awesome course on data structures, especially as they are used in the frontend. You could teach it in JavaScript and then show it in React or even in various libraries like Angular, Vue, etc. That would give your courses even more breadth / exposure. Just throwing it out there.

  • @kantyDarius
    @kantyDarius 4 роки тому +1

    Man... You are a real web dev simplifier👏

  • @bluesteel1
    @bluesteel1 3 роки тому

    hidden gem ... kyle's once of the best instructors out there

  • @vimalathithand917
    @vimalathithand917 2 роки тому

    the best video on eventlisteners...great video,learned a lot of things.Really helpful ...!Thank you so much..!😄

  • @OrmHaxanThle
    @OrmHaxanThle 2 роки тому

    I've brought so many content about JS, Node.js , ALGORITHMS, Design Patters from different instructors and I have NEVER been able to understand any of these in such depth as Kyle makes me do.

  • @quentina.3021
    @quentina.3021 4 роки тому +3

    Man, you are an awesome teacher! Best explanation/tutorial of event listeners I’ve ever seen.

  • @nehagarg1380
    @nehagarg1380 2 роки тому

    This is one of the best video on event listner.

  • @dsvhs93
    @dsvhs93 4 роки тому +9

    Look at that fresh fade! Thanks Kyle for the lesson! Will have to watch this a little later on! But I already know it’s awesome!

  • @H7forReal
    @H7forReal Рік тому

    best tutorial video about event listeners no doubt mane good job!

  • @eduard289
    @eduard289 2 роки тому +1

    omg 17:00 thank you so much about it ! Knowledge here ..

  • @TomasMisura
    @TomasMisura 3 роки тому

    I am not gonna lie I found this video as extremely useful as everything I need is in one place and don't need to look around. I am not using Event listeners very often even I would (I am not pro, sorry ) but this video made me to learn more about.

  • @_wadewilson_
    @_wadewilson_ Рік тому

    Hey Kyle just wanted to say thanks for these lovely tutorials

  • @abhijeetmokale5604
    @abhijeetmokale5604 3 роки тому

    I've always wondered what does the third parameter in event listener does and Thanks to you !!!! your way of explaining makes everything easy to understand...love from INDIA !!!

  • @theomegamale5335
    @theomegamale5335 2 роки тому +1

    Already knew this stuff, but definitely a great video for those newer to events in js and i still enjoyed watching regardless. Keep up the good work!

  • @tan2cang93
    @tan2cang93 3 роки тому

    thanks, bro. now I know how to implement removeEventListener() correctly

  • @vincentjohnflorio
    @vincentjohnflorio 3 роки тому

    The beauty of the event delegation at the end is that it's a conventional event listener on the one "element" that there can't be more of and would never need delegation. You produce new things within it, but never a new "it" entirely. So it's a "live" content check.

  • @ug3469
    @ug3469 2 роки тому

    Thank you very much for covering so many options for event listeners

  • @abdullahsoomro6238
    @abdullahsoomro6238 2 роки тому

    I watched this video 2 times. To really understand the event bubbling and event capturing. You taught it really nice and simple way.❤

  • @Born2DoubleUp
    @Born2DoubleUp 3 роки тому

    you explain things so well... im watching all your lessons.

  • @jeffreyjdesir
    @jeffreyjdesir 4 роки тому +2

    You're such a gem, I wish I could bundle you 💎

  • @marcusaureliusregulus2833
    @marcusaureliusregulus2833 3 роки тому

    Figured out yesterday that there was more to event listeners. Guess whose video I chose to watch to clear all doubts😊

  • @nightfire777
    @nightfire777 3 роки тому

    I'm watching all your videos now, great

  • @satyampandey5584
    @satyampandey5584 3 роки тому

    Wow! I learnt so many things from this single video.

  • @pbellomagnani
    @pbellomagnani Рік тому

    This viedo is amazing, Thanks Kyle, your explanation is perfect and very useful!

  • @kalyanp7857
    @kalyanp7857 3 роки тому

    Teaching is an art but with precision is what Kyle has! I have been a backend guy for 04 years but now I want to do some cool UI stuff your videos are helping a lot. Thanks mate!

  • @catt_1763
    @catt_1763 Рік тому

    Thanks sir I have learnt so many things from you including advanced css and basics of js now going for advanced js (Modules and js frameworks )

  • @shankarghimire4492
    @shankarghimire4492 3 роки тому +3

    Thank you so much, lol!
    I was having headache due to the similar issues on my assignment and finally your this video tutorial helped me solve the issue.
    I am so grateful to you.
    Thanks once for sharing your knowledge and skills with the world!
    :)

    • @itboardroom5085
      @itboardroom5085 2 роки тому

      can't say having headache say have headache or feel pain in my head

  • @setyvyas2043
    @setyvyas2043 9 місяців тому

    Very well explained, mate. Kudos!

  • @michaelbrauner
    @michaelbrauner 4 роки тому

    Oh dude. I like how your break it down and structure your tutorials. Very good.

  • @pauldodd6909
    @pauldodd6909 3 роки тому

    Really easy to understand video of events and event listeners in JavaScript. Thank you.

  • @tommykelly1007
    @tommykelly1007 4 роки тому

    Great video. After watching your videos you have inspired me to make my own UA-cam videos I feel I am finally ready to do so. Thanks

  • @imdagz4070
    @imdagz4070 3 роки тому

    You're legend! This helped me solve my problem!

  • @giorgimerabishvili8194
    @giorgimerabishvili8194 3 роки тому

    One of the best channels on UA-cam!

  • @chander1542
    @chander1542 4 роки тому

    Looks like from the next. I dont have read docs for applying event listener. Thank you for the simplest explanation

  • @madhusaini22
    @madhusaini22 Рік тому

    His eyes, hair & content is just🎉🔥

  • @eidenblock
    @eidenblock 10 місяців тому

    Man, i have to say thank you for you job!

  • @eric69969
    @eric69969 Рік тому

    Best explanation ever! Thank you so much!

  • @darpananeja6755
    @darpananeja6755 2 роки тому

    Superb explanation and fully informational video!!

  • @1900-u6u
    @1900-u6u 4 роки тому

    This is a breath-takingly good clarification. Subscribed for sure.

  • @eo333
    @eo333 2 роки тому

    You are doing the world a great service!

  • @angadrajsingh4311
    @angadrajsingh4311 3 роки тому

    Thanks for sharing event delegation code. Cheers to your channel.

  • @annspervaiz8770
    @annspervaiz8770 3 роки тому

    I don't usually comment on UA-cam but honestly only your tutorials have cleared my all concepts of JS.... Seriously I've been watching #cleverprogramming #freecodecamp and even one's of Mosh Hamadani's but you actually nailed it.. Way too much THANKFUL of yours...!

  • @chowadagod
    @chowadagod 4 роки тому

    Thanks man ..I literally suck at Javascript this is a life saver

    • @TheCodingOdyssey
      @TheCodingOdyssey 4 роки тому +1

      You don't suck! You are just still learning.

  • @md.hasanmahmudrimon9867
    @md.hasanmahmudrimon9867 2 роки тому

    you never fail to surprise. Your channel name is justified

  • @mphosantho1837
    @mphosantho1837 2 роки тому

    This is dope bro, very comprehensive.
    😃😃😃

  • @rossclutterbuck1060
    @rossclutterbuck1060 Рік тому

    Nice and concise overview. Conspicuous by their absence are stopImmediatePropagation and preventDefault methods for the event.

  • @xGalasko
    @xGalasko 2 роки тому

    easiest way to remember bubbling is that in a row of bubbles if i throw a needles through the bubbles they will pip one after the other in a row til the last one, but when you capture something with a camera for example, the closest thing to the lens will be captured first etc

  • @charusharma7738
    @charusharma7738 Рік тому

    superb explanation kyle keep up the good work