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!
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.
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.
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.
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?
@@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...
@@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: ua-cam.com/video/a32fbqPNir4/v-deo.html
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
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.
Check out my JavaScript Simplified playlist where I simplify different concepts in JavaScript: ua-cam.com/play/PLLdz3KlabJv0TBKCbF9aSxIpCxsLiFhEv.html
Brother... I'm starting in JS and I had this problem with the onload method... after 2 days trying, this was my solution. THANKS!
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.
Bro, your tutorial is much easier to understand than other tutorial I previously watched. Thanks to you!
I'm so so glad to hear this! Thanks for the feedback, and I'm glad you found it easier.
your teaching is next level bro, keep doing, you will have million subs
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!
Hahah thank you so much and welcome!
Elements receives different forms of events in the DOM! That opening line explains it all thank you, have subscribed!
I’m so glad to hear ✨
Thank you for doing this my man Dee! I appreciate it very much. Looking forward for more tutorials from you.
You're welcome 🙏🏾
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.
Thanks, there is only your video in you tube who explain the use of target deeply, again thanks
Glad it was helpful! You're welcome :)
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.
Thnx a lot sir love from india🇮🇳🇮🇳
You're very welcome!
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.
I'm so glad to hear that this was helpful!
Thanks teacher , I was struggling from this exact thing ! You made it much more easier for me
You're very welcome! I'm so so glad to help
This is the kind of tutorial that i need. Well explained. Thank you so much maaan!
You're welcome! So glad to hear
Hi mate, you can really explain stuff in a very easy-to-understand way, thank you ! Greetings from N.Ireland
Heyyy...Greetings from the Netherlands. Thank you so much for the kind feedback. I'm so glad you enjoyed this
Simply awesome!
Thank you! Cheers!
This really made me understand more about event.target
came here for javascript tutorial, stayed for the accent, but no joke the video is great thank you.
Haha glad you liked my accent. and thanks for the feedback regarding the video
@@deeecode naija accent i am gussing, leaning javascript too, thank for the video by the way
this is the best video on this topic
Thank you very much for this video, it was very helpful👍
Wow.. nice explaination.. I have definitely learnt something
Really love this guy ❤❤❤❤.
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?
Really helpful, thanks and well-done 🎉❤
Glad you enjoyed it!
I really thought the same but I was doubtful but now I am sure
You're very welcome!
Wow, bro it's easy to understand thank you
I'm so glad to hear this...you're welcome!
Very well explained! Thanks for sharing this with us. Keep it up champ!
Glad you liked it! You're welcome
You're good boss. Would like to see a video of how you create content
Coming back to this comment, I'll make a video on this to wrap up the year :)
Will let you know when published
@@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...
@@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: ua-cam.com/video/a32fbqPNir4/v-deo.html
@@deeecode thank you
any reason why you used query selector opposed to getElementById?
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
Bro!! You're good! love the explanations...
Thank you so much for this feedback. I'm glad you love it
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.
practical explained bro keep it up
Thank youuu
Thank you, man, so useful !👏
Glad to hear :)
wow nice explanation👍👍👍
I'm so glad you enjoyed it ;)
Wow that is super amazing …thanx🙏
Glad you like it. You're welcome!
Thank you so much!!
You’re welcome :)
well explained.Thank you!
You're welcome!
nicely explained buddy...thanks
glad you found it so
love from india
Thank youuuuuuuu!
THANK YOU MAN< BRASIL LOVES YOU
thank you so much 🥹
thank you!
Thank you.
You're welcome!
Thanks man
Clarísimo, gracias!!
You're welcome
nice explanation bro
Glad you liked it
Thaks bro
you're welcome
Thanks bro..
You're welcome :)
Please 🙏 make a video on html data attributes and dataset methods please @deeecode
very good
Thank you! Cheers!
Awsome content 🔥
You're welcome :)
Great 😊
You're welcome
super helpful
Glad it helped!
Nice explanation and examples
Amazing
Thank you! Cheers!
thanks sir
Most welcome
Lucid Explanation
W tutorial
Nice to know. Thank you
Explanation is clean but I’m still confused 🥲
Hi, In what way are you confused? 🤔
very nice
you're welcome