Events in Javascript | chai aur

Поделиться
HTML-код
  • Опубликовано: 21 дек 2024

Комментарии • 475

  • @Aniket_0314
    @Aniket_0314 Год назад +99

    As a beginner you may not realize how good this series and every video is , by far the best playlist 🙏🙏

  • @BalajeeSingh-ov7mv
    @BalajeeSingh-ov7mv 10 месяцев назад +24

    01:51 Introduction to events in JavaScript
    05:37 Events in JavaScript are invoked on specific activities such as mouse click or key press.
    07:29 The three approaches discussed are: 1) Using the current approach reduces code. 2) The second approach involves selecting elements by ID and adding an onClick event. 3) The best approach is using event listeners for more features.
    11:08 Different approaches to handling click events in JavaScript.
    13:08 Events in JavaScript provide detailed information about user interactions.
    16:46 The video discusses the events in JavaScript and the use of Alt key
    18:26 Event propagation in JavaScript
    22:02 By using the Stop Propagation method, you can prevent bubbling of events.
    23:43 Using preventDefault() to change the default behavior of an event
    27:22 Creating an event to make an image disappear when clicked
    29:00 Using event listeners to track click events in JavaScript
    32:23 Removing elements in JavaScript using the removeChild method.
    34:18 Understanding event propagation and bubbling in JavaScript

  • @vrajverma2804
    @vrajverma2804 Год назад +64

    One of the best video I've ever seen on events. Thanks for giving us immense knowledge. I'm a software engineer but to be honest now I got to know in detail about Bubbling n capturing

  • @vipankumar6117
    @vipankumar6117 Год назад +10

    Thank you, for this series. This Javascript series is one of the best on RUclips

  • @jayramkumar2284
    @jayramkumar2284 Год назад +18

    eventPropogation, bubble, and capturing is easy to understand after watching this series .
    Thank you sir❤❤

  • @sauravjha552
    @sauravjha552 10 месяцев назад +4

    Deeply understood about events , no one teaches and explains the way u do sir ,Thank You So Much.....

  • @sujalthakkar2118
    @sujalthakkar2118 Месяц назад

    28:40, here we can select < img > tag as well that will prevent the google link unselected as well

  • @saragadamsuresh
    @saragadamsuresh Год назад +2

    Audio quality, Video quality, Screen recording, Javascript Classes in hindi are a unique and are the best in your channel.

  • @heyMonikaa
    @heyMonikaa 8 месяцев назад +3

    Finally understood the events ... mind-blowing lecture series

  • @sachin0xblock
    @sachin0xblock Год назад +12

    "Chai and Code, your coverage of JavaScript events is pure gold! 🌟 I've learned so much from this series, and it's an absolute gem for both me and fellow JavaScript enthusiasts. Thanks for making learning so enjoyable! 👏🚀"

  • @darshandesale
    @darshandesale Год назад +1

    Mind blowing sir kya padhate ho Apke charche har dwarpe salam he apko

  • @girdhar3224
    @girdhar3224 6 месяцев назад +1

    22:00 event propagation: false = Bubbling (bottom to top)
    true = Capturing (top to bottom)

  • @varuntadpatri2459
    @varuntadpatri2459 4 месяца назад +1

    What a explaination!!!!! I never really understood events correctly until this video. Hitesh Sir you are seriously the best teacher I ever came across..💯❤‍🔥🔥🔥🔥🔥

  • @muhammadahmedsiddiqui9382
    @muhammadahmedsiddiqui9382 11 месяцев назад +3

    great value addition for JavaScript Community. Thank YOU ❤

  • @Free_Soul6
    @Free_Soul6 Год назад +1

    one of the best lang playlit i have ever seen , after seeing this and doing code i can literally undersatnd so easily, thank you so much

  • @tech_channel110
    @tech_channel110 Год назад +4

    "Your comprehensive lecture on JavaScript events has been nothing short of remarkable. Your ability to demystify this fundamental aspect of web development and provide practical insights is truly commendable. I'm truly impressed by how you've made events in JavaScript not just understandable but also exciting!"

  • @hassamulhaq7762
    @hassamulhaq7762 Год назад +7

    I was working on a project that had google maps for showing locations and popup on map when user click on a specific listing. listing parent div and inside button both had events. map popup event set on parent div and button had redirect event BUT the error was popup opened when user click button means instead of redirect event the parent div event triggered. i solved that in a different way (by creating radio input for popup and remove event from parent div) but the solution is event propagation and bubbling. really thank you for covering this.

  • @preetamdas29
    @preetamdas29 Месяц назад

    18:06 Events propagation (Events Bubbling, Events Capturing)

  • @theyashsawarkar
    @theyashsawarkar 8 месяцев назад +1

    really great channel for hindi speakng community , love from maharashtra sir .....!

  • @Shams_Tabrezii
    @Shams_Tabrezii 3 месяца назад +2

    I've watched many tutorials on EventListeners but Bubbling and Capturing of Event was what i heard for the first time...

  • @tech_channel110
    @tech_channel110 Год назад +5

    "The way you've unraveled the intricacies of JavaScript events is truly inspiring, making what once seemed complex now feel within our grasp. Your lecture has ignited a newfound enthusiasm for event-driven programming!"

  • @gobindabarman8339
    @gobindabarman8339 8 месяцев назад +2

    Sir asehi in depth padhate rahiya ga.... Thank you sir 🙏 Love from Darjeeling West Bengal ❤

  • @snehasish-bhuin
    @snehasish-bhuin Год назад +1

    Dekh ke mon khush ho jate hai. Lovely Nice in-depth video
    💌💌💌💌💌

  • @parmjeetmishra2
    @parmjeetmishra2 Год назад

    One by One . I am getting the full gist of JS .. Now I even tried to solve the issue by myself . Before seeing the solution. thanks to you I am now confident.

  • @zaidofficials
    @zaidofficials Год назад +5

    Thank you very much for teaching us javascript sir
    I was wandering for 2 days in search of these kinds of quality tutorials
    Now I'm gonna follow this series ❤

  • @Rohit_Gunwal
    @Rohit_Gunwal 2 месяца назад

    at 23:37 , I would like to add another point, which I discovered through a bug, when the value of 3rd parameter for both the events is true and we apply the stopPropagation method for the owl element, then the message for the images id also get logged , but why did it get log? because stopPropagation method prevents further bubbling and to propagate to other elements but it doesn't affect ones who have already been triggered. In our case the images event is triggered earlier than the owl event, which results in logging of it.

    • @Rohit_Gunwal
      @Rohit_Gunwal 2 месяца назад

      also got to knew a few more things:
      the 3rd parameter is called useCapture, I had a doubt that what if for some events the value of useCapture is True and for others it is false, will it lead to some contradiction? well, actually no , this parameter only determines in which phase the event listener will be activated.If it is set to be true that it means it will be activated in the first phase(capturing phase) else it will be activated in the last phase(bubbling phase)

  • @CODEWITHEASE-u8l
    @CODEWITHEASE-u8l 23 дня назад

    The way you explain things and the way you visualize all the scenarios is actually perfect thank you so much for your youtube channel

  • @Veecast247
    @Veecast247 Год назад +1

    Thank you, sir, for this series This Javascript series one of the best on RUclips

  • @shobitkhatri9242
    @shobitkhatri9242 Год назад +2

    timestamp: 32:55 there is one more way to remove the image
    removeit.style.display = 'none'

    • @MayankMJain-y6k
      @MayankMJain-y6k 11 месяцев назад +1

      When we do display: none it is not going to be shown on the web page but it will be still there in the DOM.

  • @avibirla9863
    @avibirla9863 Год назад +2

    Wow sir best ...lots of new things to learn in this series 🔥Dhanyawad🙏

  • @sunilbohora8623
    @sunilbohora8623 Год назад +2

    I find it difficult to understand event propagation properly but the way u explained it with the example was wonderful. keep teaching like that .

  • @ayushgoregaonkar26
    @ayushgoregaonkar26 Год назад +6

    no one teach js in depth like u sir 😐. thanks for taking js series in depth ☺.

  • @suryasujit3911
    @suryasujit3911 Год назад

    Maza aagaya sir, kya behtareen way hai apka teaching ka, mujhe toh bohut acha lag raha hai sir apse sikhe. Kitne paise bhi pay karu ayisa course ke liye kam hi hai.Thank you so much sir❤❤❤❤

  • @ankitsainiofficial777
    @ankitsainiofficial777 11 месяцев назад +1

    As a beginner you may not realize how good this series and every video is

  • @RakibHasan-ui2ez
    @RakibHasan-ui2ez Месяц назад

    This has to be one of the best videos on events.

  • @VishalSharma-rn7mt
    @VishalSharma-rn7mt Год назад

    Awesome, you are the best Javascript teacher on RUclips, way of explanation is awesome

  • @kunnu_4
    @kunnu_4 6 месяцев назад

    14:18 Question
    23:44 stopPropagation
    32:34 print target cz i don't understand
    32:34 removechild

  • @someshkarmakar47
    @someshkarmakar47 Год назад +1

    what an expectional video on JavaScript events, literally loved it so much, the way he is teaching, is just amazing and the concepts that are really important and far better than other 10hr long videos...thanks man😍😍

  • @dishasathavara
    @dishasathavara Год назад +1

    explored so many events tutorial but never seen this type of explanation

  • @manojk1484
    @manojk1484 Месяц назад

    Grateful that people like you doing best kind of social service by helping the learners with top quality content where others are charging for inferior quality. Thank you for your time, efforts and resources you put up for making this happen.

  • @Error404Codes
    @Error404Codes Год назад +2

    i just completed js basic and even i had done my mern coruse i am watching this series cause the way he is teaching awesome .
    and look forward to learn with you..

  • @09umerkhalid12
    @09umerkhalid12 4 месяца назад

    Sir G bohat hi great series bna dali aap ne toh
    Bundle of thanks and love from Pakistan

  • @prashantsingh5142
    @prashantsingh5142 Год назад +1

    Explanation went to next level ..
    thanx for making such videos

  • @aashishrai1138
    @aashishrai1138 Год назад +1

    Vaaah maja aaya Events ko smjhne me Hitesh sir 😊

  • @Dev-Phantom
    @Dev-Phantom 10 месяцев назад

    Best ever lecture on Events in javascript, very insightful. Very helpful for Interview

  • @Alok.28
    @Alok.28 10 месяцев назад +2

    Thanks Sir for this amazing teaching and mini project .

  • @BitFire007
    @BitFire007 9 месяцев назад

    "Chai aur Code, you're the mentor I never knew I needed for mastering JavaScript. Fantastic work!"

  • @zahid_9217
    @zahid_9217 Год назад +3

    Sir literally I don't have words to express my gratitude for how much comprehensive you are.
    Lots of love from Kashmir ❤

    • @chaiaurcode
      @chaiaurcode  Год назад +2

      Thanks a ton 😊

    • @Adnan-td5iq
      @Adnan-td5iq 3 месяца назад

      hlw bro i think i have met you in bla

    • @Adnan-td5iq
      @Adnan-td5iq 3 месяца назад

      you are from kupwara ryt

  • @rudraashtikar5547
    @rudraashtikar5547 5 месяцев назад

    the best playlist 🙏 thanks to my friend for suggesting me this channel!

  • @harshmaurya5278
    @harshmaurya5278 2 месяца назад

    Top notch quality content sir.🎉🎉 Thank you so much 🙏🙏🙏

  • @anilvermaverma9218
    @anilvermaverma9218 Год назад +1

    Thank you very much for teaching us javascript sir
    I was wandering for 2 days in search of these kinds of quality tutorials
    Now I'm gonna follow this series

  • @TaimoorAli-u8t
    @TaimoorAli-u8t 7 месяцев назад +1

    perfectly explained.....thankYou so much for your struggle sir

  • @Krishan_Morwal
    @Krishan_Morwal 8 месяцев назад +1

    very useful and intresting video thanks alot hitesh sir i watch this 2024

  • @PookieThisSide-d9c
    @PookieThisSide-d9c Год назад +3

    Example hi mast rhta hai aapka ekdum pratical aur production me jo use hota h real world me 👉✅

    • @resque202
      @resque202 7 месяцев назад

      Hlo aap bi job krti ho

    • @resque202
      @resque202 7 месяцев назад

      IT company mai

  • @ankittiwari3421
    @ankittiwari3421 Год назад +1

    Sir ap best series bana rhi ho ❤ keep it continue

  • @theninjan
    @theninjan Год назад

    Your JS tutorials have been a game-changer, empowering developers like me to build remarkable web applications - thank you🙏

  • @farazahmed1668
    @farazahmed1668 Год назад

    I just sit for learning HTML from chai aur code and suddenly a notification came from this chennel telling that never stop leaning or jab Hitesh bhai han to fikar kesi. Bs sekkhty jao

  • @nehabansal370
    @nehabansal370 9 месяцев назад +1

    Mzaa aagya padhke. Thankyou sir for putting so much efforts

  • @SyedFazalRahman-g7s
    @SyedFazalRahman-g7s 9 месяцев назад

    VIDEO : 36
    As usual great content ,
    And alot needed to be covered in EVENTS ( Now be a developer and find the rest...)

  • @udaytewary3809
    @udaytewary3809 8 месяцев назад

    28:31 This is called event delegation where we set up a single event hadler on the parent itself instead of setting up on the individual child

  • @sayandeepsadhukhan5016
    @sayandeepsadhukhan5016 Год назад +2

    This is ine of the best lecture sir..maja ayya 😍😍😍😍😍😍😍😍😍😍😍

  • @nikhilchhapekar2243
    @nikhilchhapekar2243 Год назад +1

    Finally Mera doubt clear ho gya ... Thank you 😊

  • @gurusacademy2021
    @gurusacademy2021 6 месяцев назад +6

    Timestamp 23:22
    Learned two new concepts - Event Bubbling and Event Capturing
    Thanks a Lot Sir.....❣

  • @abhihirwani4403
    @abhihirwani4403 Год назад +1

    Very cool video for understanding the events in a deep with bubbling and capturing now I am clear idea about the events

  • @Amantalks_4u
    @Amantalks_4u 11 месяцев назад

    Amazing lecture on Events I have ever seen on RUclips ❤😊❤❤😊

  • @deepakbaghel2444
    @deepakbaghel2444 Год назад

    Great explanation on the whole RUclips.love you sir very much❤❤❤

  • @buntysingh244
    @buntysingh244 Год назад

    Sach me maja aya aur bht hi bhtreen tarike se smjh me bhi aya.....

  • @shoaibhasan4026
    @shoaibhasan4026 Год назад +1

    most important topic smashed by Hitesh sir 🔥

  • @vivekthakur1563
    @vivekthakur1563 Год назад +1

    Extraordinary teaching style 🎉

  • @pahalbhawsar4001
    @pahalbhawsar4001 10 месяцев назад +1

    thankyou for providing this much knowledge of events.

  • @akhiltaneja4054
    @akhiltaneja4054 3 месяца назад

    first studied this in december jan this year now after studing react came back to revise core js concepts from the legend himself!

  • @samadsiddiqui5925
    @samadsiddiqui5925 11 месяцев назад

    one of the best classes on Events In JS ❤❤

  • @tonmoyroy6225
    @tonmoyroy6225 11 месяцев назад +1

    Awesome explanation Sir ❤️
    Thanks a lot.

  • @shadikhusain1216
    @shadikhusain1216 Год назад +1

    Sir ye jo hinglish explaination hai sir vo bahut achha harr student smjh sakta hai chahe vo kisi bhi backgroun se ho.❤dusra ye pls point hai ki aap content bahut heavy padha rhe hain jo real mai industry mai humm chizo ko use krte hai ES6 ke topics vagera.

  • @kashidasmongre
    @kashidasmongre 9 месяцев назад

    You tube ka sabse best Series he ye sabhi diniya bharka vada karte he but mujhe sabse best yahi samajh aya

  • @Mani_shkr
    @Mani_shkr 6 месяцев назад

    Bohot achha se samjh aaya event propagation (event bubbling and capturing)
    Also how to removes subnodes individuals with target to parentNode...
    Thanks🤩

  • @virajkabbur765
    @virajkabbur765 6 месяцев назад +1

    waah majja aya, kya sikhate ho sirji

  • @thecalgarians4597
    @thecalgarians4597 9 месяцев назад

    Every video is Mind Blowing but this one was Mind Blasting. Kudos Hitesh ji. ❤

  • @visheshgupta4990
    @visheshgupta4990 10 месяцев назад

    Thank you so much for spending so much time , and making such an amazing playlist and make every video so in depth , Thanks alot 🙌🙌

  • @bhuvneshsharma618
    @bhuvneshsharma618 7 месяцев назад

    Thank you for this amazing video. very helpful, each and every concept is covered nicely

  • @zeeshankhan-yc4oy
    @zeeshankhan-yc4oy Год назад +1

    is lesson men bohat maza aya, thanks

  • @Nitish-t4q
    @Nitish-t4q 26 дней назад +1

    crystal clear ❤❤

  • @sonumondal7798
    @sonumondal7798 10 месяцев назад

    sir I haven't visit the website but I did all 4 projects with my own and then I saw your tutorial .I am happy that I was able to do project . Thank you sir for this amazing content ❤❤

  • @tanishaguptacse2032
    @tanishaguptacse2032 8 месяцев назад

    Ab tak ki is series mei sabse jaada mazaa is video mei aaya

  • @DeepakJadiwal
    @DeepakJadiwal 9 месяцев назад

    Your explanation is too good 😊😊 best series in India

  • @joyguha7944
    @joyguha7944 7 месяцев назад

    your explanation is the best over the all you tubers and paid courses.. my biggest nightmare- what happens if Hitesh sir stop creating such a deep valuable lesson for free on youtube

  • @Abhinav-ep7vb
    @Abhinav-ep7vb 6 месяцев назад

    Nice Video. Learned Lots of New Things

  • @pakistan3965
    @pakistan3965 4 месяца назад +1

    22:00 Event Bubbling

  • @ashishmahale1415
    @ashishmahale1415 Год назад +2

    Wow!, what a lecture on event. Thank you very much sir for such a deep and detailed lecture. now as you reminded us about trello app so please make a video on trello clone. specially on drag and drop.Thanks in advance.

  • @OnLoopLearner
    @OnLoopLearner 8 месяцев назад

    Wah maza ayaa!! Thank you sir!

  • @himadriroy7980
    @himadriroy7980 Год назад +1

    Such a great video Sir ji. Loved it ❤

  • @sakibyousuf1869
    @sakibyousuf1869 Год назад

    Wah mazaa aaya ❤ perfectly explained

  • @RamPawara-ju8yq
    @RamPawara-ju8yq Год назад

    Thank you for bringing this valuable series 💓💓❤❤❤❤❤❤

  • @BHANUPRATAPSINGH-lg2xm
    @BHANUPRATAPSINGH-lg2xm Год назад

    Such m pata hi nhi chla ki kab 36 minutes nikal gye best video

  • @SajjadAhmad-wf1by
    @SajjadAhmad-wf1by 5 месяцев назад

    bahot badhiya sahab...maza aaya!

  • @30sunique78
    @30sunique78 Год назад

    Series rock solid Rahe kya Hai aur india bale achi chai dhundh hi lete hai 😂 0:39

  • @yogeshkamble1500
    @yogeshkamble1500 Год назад

    Sir ji yaha pe Jo hamne sikha vo paid course me bhi nahi hai, thank You very much sir for clearing all our doubts. aur Aapse Sikhne me maja hi kuch aur hai Thank you sir once again

    • @chaiaurcode
      @chaiaurcode  Год назад +1

      Ye series new benchmark h quality ka

  • @Prernachaturvedi8720
    @Prernachaturvedi8720 5 месяцев назад

    🎉❤best best series in the world

  • @VinodKumar-ld7rs
    @VinodKumar-ld7rs 3 месяца назад

    You just nailed it !!!!!! 🔥🔥

  • @tech_channel110
    @tech_channel110 Год назад +2

    bht bht shukria
    you are always my motivation and my role model