EVENT.TARGET, in JavaScript, Simplified

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

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

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

    Check out my JavaScript Simplified playlist where I simplify different concepts in JavaScript: ruclips.net/p/PLLdz3KlabJv0TBKCbF9aSxIpCxsLiFhEv

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

    Bro, your tutorial is much easier to understand than other tutorial I previously watched. Thanks to you!

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

      I'm so so glad to hear this! Thanks for the feedback, and I'm glad you found it easier.

  • @Kivencito
    @Kivencito 2 года назад +7

    Brother... I'm starting in JS and I had this problem with the onload method... after 2 days trying, this was my solution. THANKS!

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

      I'm so so so glad to hear this feedback. You're welcome. Feel free to share topics you'd like me to make videos about.

  • @hybs9473
    @hybs9473 2 года назад +5

    Thank you for doing this my man Dee! I appreciate it very much. Looking forward for more tutorials from you.

    • @deeecode
      @deeecode  2 года назад

      You're welcome 🙏🏾

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

    Elements receives different forms of events in the DOM! That opening line explains it all thank you, have subscribed!

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

      I’m so glad to hear ✨

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

    your teaching is next level bro, keep doing, you will have million subs

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

    Simply awesome!

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

      Thank you! Cheers!

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

    Love from india , you are just amazing , loved the way of explanation you have resolved my doubt and gave a detailed explanation with the use case , that helped a lot.Thanks a lot man.Keep doing this amazing work.

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

    I swear this guy is Nigerian! And you explain it better and what happened after calling the function i just subscribed to your channel as a fellow Nigerian! Bro teach us more.... break it down bro!

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

      Hahah thank you so much and welcome!

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

    Thnx a lot sir love from india🇮🇳🇮🇳

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

      You're very welcome!

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

    I had done this a few way before but remembering and doing it differently shows problems as well as unexpected solutions. This was the inspiration, bubbling along next to it. yipety doo.

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

    Thanks, there is only your video in you tube who explain the use of target deeply, again thanks

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

      Glad it was helpful! You're welcome :)

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

    Hi mate, you can really explain stuff in a very easy-to-understand way, thank you ! Greetings from N.Ireland

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

      Heyyy...Greetings from the Netherlands. Thank you so much for the kind feedback. I'm so glad you enjoyed this

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

    Thanks teacher , I was struggling from this exact thing ! You made it much more easier for me

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

      You're very welcome! I'm so so glad to help

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

    This is the kind of tutorial that i need. Well explained. Thank you so much maaan!

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

      You're welcome! So glad to hear

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

    Wow.. nice explaination.. I have definitely learnt something

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

    This really made me understand more about event.target

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

    this is the best video on this topic

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

    Very well explained! Thanks for sharing this with us. Keep it up champ!

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

      Glad you liked it! You're welcome

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

    Really love this guy ❤❤❤❤.

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

    Really helpful, thanks and well-done 🎉❤

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

      Glad you enjoyed it!

  • @Paulina-sc1xd
    @Paulina-sc1xd 4 месяца назад

    Thank you very much for this video, it was very helpful👍

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

    Thank you! My college teacher doesn't explained to me that, only passed the answer, and I was struggling to understand by myself how and why this works.

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

      I'm so glad to hear that this was helpful!

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

    Wow, bro it's easy to understand thank you

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

      I'm so glad to hear this...you're welcome!

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

    Bro!! You're good! love the explanations...

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

      Thank you so much for this feedback. I'm glad you love it

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

    came here for javascript tutorial, stayed for the accent, but no joke the video is great thank you.

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

      Haha glad you liked my accent. and thanks for the feedback regarding the video

    • @FineTech-l6o
      @FineTech-l6o Год назад

      @@deeecode naija accent i am gussing, leaning javascript too, thank for the video by the way

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

    Thank you, man, so useful !👏

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

      Glad to hear :)

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

    practical explained bro keep it up

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

      Thank youuu

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

    You're good boss. Would like to see a video of how you create content

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

      Coming back to this comment, I'll make a video on this to wrap up the year :)
      Will let you know when published

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

      @@deeecode is it out now boss. Really would love to such content.. How you come up with ideas, plan your content, film, edit.. advice
      Would really help...

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

      @@Petersonbabs Hi...so sorry I couldn't publish it before the new year like I said I would. But here's the video live now: ruclips.net/video/a32fbqPNir4/видео.html

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

      @@deeecode thank you

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

    Hello I'm having an error with this. Could you explain it to me why?
    I'm getting the name Id and assigning it to a variable here.
    Const nameId = document.getElementById("nameId");
    And then i have an event listener that listen to the assigned element above.
    nameId.addEventListener("keyup", () => {
    function(); // this function execute when this event is made
    });
    Now I'm having this (Uncaught TypeError: nameId is null) whenever I'm on a different page on my web. But when I'm on the where this code is being used I'm not having that error.
    What i did is i wrap the event listener to an if statement checking if the nameId is not null then execute the event. Is there any other way i could do this?

  • @dinasalah855
    @dinasalah855 2 года назад

    Wow that is super amazing …thanx🙏

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

      Glad you like it. You're welcome!

  • @nabeelkhan-dp2fc
    @nabeelkhan-dp2fc Год назад

    nicely explained buddy...thanks

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

      glad you found it so

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

    wow nice explanation👍👍👍

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

      I'm so glad you enjoyed it ;)

  • @noobme1068
    @noobme1068 2 года назад

    well explained.Thank you!

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

    any reason why you used query selector opposed to getElementById?

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

      there was no specific reason. i've found myself liking querySelector when I want to do any element query (from classes to ids to attributes), and I also wanted to show in this video that there are multiple ways you can get elements from the DOM

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

    I really thought the same but I was doubtful but now I am sure

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

      You're very welcome!

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

    Thank you so much!!

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

      You’re welcome :)

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

    Clarísimo, gracias!!

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

    love from india

  • @MatheusPereira-nn9dj
    @MatheusPereira-nn9dj Год назад

    Awsome content 🔥

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

    Thanks man

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

    nice explanation bro

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

    thank you!

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

    THANK YOU MAN< BRASIL LOVES YOU

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

      thank you so much 🥹

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

    Great 😊

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

      You're welcome

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

    super helpful

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

    Thank you.

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

    Tricky stuff. Syntax n all that on top of the why should I need it. I thought this was revision of a hard day but the same errors for me showing how hard it is to know how to alter things just slightly.

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

    Thanks bro..

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

    very good

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

    Amazing

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

    Thaks bro

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

    thanks sir

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

    Nice explanation and examples

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

    W tutorial

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

      Nice to know. Thank you

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

    Please 🙏 make a video on html data attributes and dataset methods please @deeecode

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

    Lucid Explanation

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

    Explanation is clean but I’m still confused 🥲

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

      Hi, In what way are you confused? 🤔

  • @CecíliaCastrodosSantos
    @CecíliaCastrodosSantos Год назад

    very nice

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

      you're welcome