Do you know the difference between target vs. currentTarget?
Тәжірибелік нұсқаулар және стиль
What is the difference between target and currentTarget in JavaScript?
---------------------------------------
🎨 VSCode Theming
- Font: Cascadia Code: github.com/microsoft/cascadia...
- Theme: marketplace.visualstudio.com/...
- Icons: marketplace.visualstudio.com/...
---------------------------------------
🌐 Connect With Me 🌐
- Website: codinginpublic.dev
- Blog: chrispennington.blog
- Twitter: / cpenned
- Patreon: / coding_in_public
- Buy Me a Coffee: www.buymeacoffee.com/chrispen...
Пікірлер: 22
Thanks Chris for explaining the difference with examples 🙏
@CodinginPublic
Жыл бұрын
You’re welcome!
Short, simple, with good example. Thanks a lot !
@CodinginPublic
5 ай бұрын
Glad it was helpful!
Awesome to see the difference being well explained, thanks, Chris!
@CodinginPublic
Жыл бұрын
Glad it was helpful!
Awesome explanation. Thank you Cris!
@CodinginPublic
Жыл бұрын
Glad it was helpful! :)
With that example you showed at the end, I can rewrite a BIG piece of a bookmarklet I created (replace a bunch of "onclick"). Thank you!
@CodinginPublic
Жыл бұрын
That's a great idea!
That was exactly what I was looking for. Thanks!
@CodinginPublic
Жыл бұрын
Sure thing! Glad it was a help!
Very useful, thanks!
@CodinginPublic
10 ай бұрын
Glad it was helpful!
great video thank you sir !
@CodinginPublic
Жыл бұрын
Glad it was a help!
Who so interesting! Thanks!
@CodinginPublic
Жыл бұрын
Glad you enjoyed it!
I wish Had console ninja for Flutter. Awesome video, very useful.
@CodinginPublic
Жыл бұрын
Console ninja is 🔥
Very good explanation for me, Thank You!👍 And can I ask you for help. I have a javascript code (I didn't write it), I want to show it to you and ask something about it?
@CodinginPublic
Жыл бұрын
Glad it was helpful!