Callbacks in JavaScript Explained!

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 มิ.ย. 2021
  • Video Sponsors: getstream.io/aniakubow . Stream is a maker of enterprise-grade developer tools that help product and engineering teams solve two common problems at scale: in-app chat, and social activity feeds.
    Callbacks in JavaScript Explained!
    In this video I explain what Callback functions are with the help of a simple example, and a more complicated one.
    ___
    ⭐ New to code and none of this is making sense? Watch my '12hr+ TH-cam Coding Bootcamp' in which you will learn HTML, CSS and JavaScript Fundamentals completely from scratch. It's on my channel and its 100% free.
    ⭐ In most videos I use Tabnine as my A.I autocompletion tool. You can download it for free here: bit.ly/tabnine-top-tool
    ⭐ You can get a blockchain domain with my affiliate link here: bit.ly/get-a-crypto-domain
    ⭐ If you would like to buy me a coffee, well thank you very much that is mega kind! : www.buymeacoffee.com/aniakubow
    ⭐ Sign up for weekly coding tips from my newsletter partnership: bit.ly/JS-tips
    You can also find me on:
    Twitter: / ania_kubow
    Instagram: / aniakubow
    #codingbootcamp​ #coding

ความคิดเห็น • 319

  • @johnnyvcrow
    @johnnyvcrow 2 ปีที่แล้ว +159

    At 5:20 my mind exploded... I've watched so many tutorials trying to grasp this concept. I can't believe it's really so simple. Why do so many teachers overcomplicate this subject? You are a really great teacher. Thanks!

    • @aniakubow
      @aniakubow  2 ปีที่แล้ว +13

      Oh wow thank you so much Stark! That is so nice of you to say!😍

    • @afsharanh
      @afsharanh 2 ปีที่แล้ว +4

      felt the same impression

    • @dr_corrupt1014
      @dr_corrupt1014 ปีที่แล้ว

      @@aniakubow very helpful video babes 😘

    • @aniakubow
      @aniakubow  ปีที่แล้ว +1

      @@dr_corrupt1014 thank youuuuu

    • @djbone94
      @djbone94 ปีที่แล้ว +2

      @@aniakubow Exactly the same thing. First time i REALLY understand a callback with what you said in 5.20 as well. That was what i did'nt understand, 3 differentes method of doing a callback ! i understand callback after 1 year of learning javascript 😆 thanks you !

  • @alnashiefmohammad7463
    @alnashiefmohammad7463 2 วันที่ผ่านมา

    I'm glad I clicked this video. You just earn a sub, you and Ms. Angela Yu is the only teacher who's actually explaining things little by little and making sure the viewers gets what the code is actually doing, I understand it so fast even though I'm Asian. Thank you very much

  • @maxwarren4277
    @maxwarren4277 2 ปีที่แล้ว +5

    Best videos on youtube. The fact that you slow things down and thoroughly explain them is immensely helpful. Most people just code things out without breaking things down to their core concepts. THANK YOU!

  • @KresimirKatusic
    @KresimirKatusic 2 ปีที่แล้ว +5

    Very simply explained, Anna just kept going 👍

  • @dominik1023
    @dominik1023 2 ปีที่แล้ว +21

    There are MANY great js experts, and there are just as many great teachers. But it's a rare thing to find a person able to do both so well. Thank you Ania!

  • @maddamon1683
    @maddamon1683 2 ปีที่แล้ว +3

    You are one of the very few teachers who explains upfront what should be achieved and not only how but WHY something is done. And in addition to that your examples are on point without detours from the actual matter focusing on details which are not needed at the moment. Thanks so much and keep up the good work :-)

  • @lowwastehighmelanin
    @lowwastehighmelanin 2 ปีที่แล้ว +2

    This is honestly so helpful and clear, I really appreciate your visual examples and the simple, slow pace you take with explaining this as well as the reemphasis at the end

  • @desarrollojava
    @desarrollojava 2 ปีที่แล้ว +1

    I have never saw a video with a clear, concise, precise and useful explanation about callbacks. Thank you teacher.

  • @afretoon
    @afretoon 3 ปีที่แล้ว +23

    You've did it again, great explanation straight to the point, amazing as always👌💯

  • @rahsalghul
    @rahsalghul ปีที่แล้ว +1

    absolute legend. not only is it explained well but you keep it interesting too. you've done it again Ania

  • @jaggyjut
    @jaggyjut 2 ปีที่แล้ว +9

    Wish everyone taught the same way. Thank you for creating this tutorial.

    • @aniakubow
      @aniakubow  2 ปีที่แล้ว +1

      You are so welcome! Thanks for watching Jagjit!

  • @edberaga
    @edberaga ปีที่แล้ว +4

    it's much easier to understand when you teach about it! love your content! you are my best programming teacher!

  • @kalonacharjee1729
    @kalonacharjee1729 2 ปีที่แล้ว +1

    wow, just incredible, never saw anyone teaching such complicated concept so perfectly

  • @Augustein
    @Augustein 2 ปีที่แล้ว +8

    very well explained. I have seen a lot of tutorials on this and couldn't grasp the concept. Big thanks to you. Perhaps you should do a full JavaScript course.

  • @adarshtiwari7395
    @adarshtiwari7395 2 ปีที่แล้ว +1

    Hey Ania this was the first video of yours that I watched and you did a great job explaining callbacks! Thank you

  • @prabhakaranjeyamohan4579
    @prabhakaranjeyamohan4579 2 ปีที่แล้ว +4

    This is the best explanation I can find on callbacks. I liked the pace and you took the time to explain it. Thank you

  • @lycorice2219
    @lycorice2219 2 ปีที่แล้ว

    This is such an amazing explanation! Not only did you explain callback, you also showed different ways that it can be created. Thank you soooo much!!!

  • @devmarboy4045
    @devmarboy4045 ปีที่แล้ว +1

    thank you so much i was really struggling with callbacks and no other tutorial has had this much detail.

  • @NedumEze
    @NedumEze 2 ปีที่แล้ว

    Haven't seen this before. Callback in Callback.... speaks work for me.
    Thanks Anio.

  • @rafalp.5485
    @rafalp.5485 ปีที่แล้ว

    I've been struggling with callbacks to this moment. I am happy I've found this channel. Thank you Ania.

  • @astrodas1910
    @astrodas1910 2 ปีที่แล้ว

    I've checked some resources for callbacks but now watch your video, it's all clear. Thank you for great tutorials !

  • @ishaankulkarni49
    @ishaankulkarni49 2 ปีที่แล้ว +1

    Literally the best explanation out there. I like how you not just taught the concept but also told us how you visualize it. 🔥🔥

  • @mostafahamdy445
    @mostafahamdy445 2 ปีที่แล้ว

    WoooW Wish everyone taught the same way, And watch the ad until the end because you deserve it Greetings from Egypt💙

  • @liflorence362
    @liflorence362 2 ปีที่แล้ว +1

    Thank you so much! The way you visualized the train of thought/evolution is amazingly helpful!

  • @TechnicalTony.
    @TechnicalTony. 2 ปีที่แล้ว +1

    This was explained perfectly! You really know what parts that can be tricky to understand, and you put a lot of focus there. Great! 🙏🔥

  • @aocchan
    @aocchan ปีที่แล้ว

    Thank you, I tried other tutorials but never really understood much, yours however was clear and easy to follow.

  • @Srishti9015
    @Srishti9015 ปีที่แล้ว +1

    This was an amazing video, i have been programming for a while now without fully understanding this concept but you drilled it down so perfectly. Thank you so much!! Go girl!! Off to check out the rest of your videos 😊

  • @govinda399
    @govinda399 2 ปีที่แล้ว

    omg!!! It was the best explanation. Only after failing in the interview, I got this you Tube.

  • @adrienneparks9791
    @adrienneparks9791 2 ปีที่แล้ว

    You are so clear and easy to understand. Great presentation. Thank you!

  • @jlpatriot91
    @jlpatriot91 2 ปีที่แล้ว +1

    Thank you for this video lecture. It really helped me get a better grasp of callbacks. I appreciate it!

  • @nhatpham3393
    @nhatpham3393 ปีที่แล้ว

    after videos and videos, I have finally got explanations that make sense to me. Thank you very much. It was really helpful the way you put it.

  • @k.iskandar
    @k.iskandar ปีที่แล้ว

    This cleared up a lot of my confusion relating to callback functions and higher order functions. Thanks 👍🏽👍🏽

  • @mithi9
    @mithi9 2 ปีที่แล้ว

    Wow you made it so easy to understand. I was reading so many online tutorials and was still left confused. THX!

  • @amonraii7273
    @amonraii7273 2 ปีที่แล้ว +1

    I'm usually very stingy with my subscribes, but I think your channel is worth it

  • @kevinadrian2640
    @kevinadrian2640 2 ปีที่แล้ว

    You're right ! I watched several tutorials and no one explained really the difference in the syntax! Finally i understand using callback function. Thank you

  • @BMikel
    @BMikel 3 ปีที่แล้ว +2

    precise and straightforward explanation. I like your tutorials very much

  • @vivekjoshi3769
    @vivekjoshi3769 2 ปีที่แล้ว

    Hey I know you from Twitter.
    Glad to know you teaching on TH-cam & helping millions.
    Seems you recently started TH-cam Channel. Full support!
    You are an inspiration!

  • @rubenuijtde
    @rubenuijtde 3 ปีที่แล้ว +10

    I usually prefer project videos, but from you anything is okay, this video proves. Amazing!! 😁

  • @viveknayak
    @viveknayak 3 ปีที่แล้ว +2

    This video has helped me understand callback, thank you

  • @nayyyhaa
    @nayyyhaa 3 ปีที่แล้ว +3

    That was an awesome explanation, Ania!
    Really got a good grasp of the callback function concept. Thanks! 😁

    • @aniakubow
      @aniakubow  2 ปีที่แล้ว

      Thank you so much Neha!

  • @fernandonugf6229
    @fernandonugf6229 2 ปีที่แล้ว

    I finally found a complete explanation. Wonderful explanation. wonderful woman.

  • @elliotlassey3118
    @elliotlassey3118 2 ปีที่แล้ว +2

    Oh my God. This is one of the best videos I have watched. You are such a good teacher, I can't even believe it.
    Thank you so much 💓💗

  • @TKomoski
    @TKomoski 3 ปีที่แล้ว +13

    Did I forget to Callback today

  • @gouderhicham3696
    @gouderhicham3696 3 ปีที่แล้ว +4

    that's what we needed thank you so much ania❤️

  • @dironin2363
    @dironin2363 3 ปีที่แล้ว +2

    Thanks, Ania! Very helpful!

  • @mahmodsamir5110
    @mahmodsamir5110 7 หลายเดือนก่อน

    Straight to the point, really helpful and simple
    Thank u very much ❤

  • @deqnski890able
    @deqnski890able 2 ปีที่แล้ว

    Thank you, you made it so interesting and easy to comprehend with this slowly incremental approach!

  • @elikent78
    @elikent78 7 หลายเดือนก่อน

    thank you!!!! for the first time I'm starting to understand this concept

  • @ammarahmedkhan2416
    @ammarahmedkhan2416 8 หลายเดือนก่อน

    That was mind-blowing. You explained it so well. Thank you❤❤

  • @gerhardat7244
    @gerhardat7244 3 ปีที่แล้ว +2

    Amazing! Finally I understand callbacks. Thank you so much.

    • @aniakubow
      @aniakubow  3 ปีที่แล้ว

      Great to hear!

  • @AmeerulIslam
    @AmeerulIslam 2 ปีที่แล้ว +2

    I can't believe you have cleared a lot of concepts of mine.. Thanks Ania!

  • @NsRider980
    @NsRider980 ปีที่แล้ว

    i've been searching for this now i got exactly what i need to be understand..Beauty with brain Ania I love U and i love watching ur videos keen helping me and others too

  • @sophiagigliotti707
    @sophiagigliotti707 2 ปีที่แล้ว

    Thank you so much Ania! I have struggled with this concept for so long, but your explanation really helped clarify :)

    • @aniakubow
      @aniakubow  2 ปีที่แล้ว

      Thanks for watching Sophia!

  • @zhaungsont326
    @zhaungsont326 ปีที่แล้ว

    This is clear, informative, and easy to understand. Thank you very much!

  • @alec3979
    @alec3979 2 ปีที่แล้ว

    Thank you for your time and effort in making this video and explaining this information! Priceless!

  • @teclyt_solutions3839
    @teclyt_solutions3839 10 หลายเดือนก่อน

    This has really helped me and the content is much easier to understand. Thanks a lot.

  • @mitchtembo487
    @mitchtembo487 2 ปีที่แล้ว

    Awesome tutorial. Love your teaching style you really make it easy to learn .

  • @koorosh13hm
    @koorosh13hm 2 ปีที่แล้ว

    Had never been explained to me like so. Thank you Ania.

  • @mikedumais2219
    @mikedumais2219 3 ปีที่แล้ว

    Another Wonderful tutorial. Thanks for tweaking my js-mindset again!

  • @sahracton8744
    @sahracton8744 ปีที่แล้ว

    5 years later of Js programming, I finally get what a call back is! Thank you :)

  • @shaidyn8278
    @shaidyn8278 ปีที่แล้ว

    Good gravy, you did it. You made arrow functions make sense. I've watched a half dozen tutorials and it was like water through a sieve. => just replaces 'function' and gets shifted forward. It's that simple.

  • @anouarelmaaroufi4030
    @anouarelmaaroufi4030 2 ปีที่แล้ว

    a really good tutorial about Callbacks, simple and to the point. Thank you

  • @hassanabs9653
    @hassanabs9653 3 ปีที่แล้ว +4

    li shukrana
    Thank you very much for this great content. A month ago, I did not understand anything about programming, but thanks to you, your simple explanation of the codes became clear to me. Thank you ♥️♥️♥️♥️

    • @aniakubow
      @aniakubow  3 ปีที่แล้ว +1

      Thank you so much Hassan!!!

  • @frederickgivens9261
    @frederickgivens9261 2 ปีที่แล้ว

    your style is so good. I turned your snek game into a golden rectangle generative art thing

  • @lofi_Insomnia_
    @lofi_Insomnia_ ปีที่แล้ว

    I have a Google interview in 3 days and I'm watching this for preparing. You example is really really helpful!!!

  • @peterwan1808
    @peterwan1808 ปีที่แล้ว

    Thank you for this tutorial, I learned a lot!

  • @Hariharan0606
    @Hariharan0606 4 หลายเดือนก่อน

    I never knew this before! Thank you so much

  • @ScottUmphrey
    @ScottUmphrey 6 หลายเดือนก่อน

    A very good tutorial on callbacks. Keep up the good work.

  • @monasiri1
    @monasiri1 ปีที่แล้ว

    One of the best explanation out there, you've made it very easy, THANK YOU

    • @aniakubow
      @aniakubow  ปีที่แล้ว

      So glad to hear :)

  • @ashankarunaratne3424
    @ashankarunaratne3424 ปีที่แล้ว

    This is so clear, Thanks!

  • @deltaforce3329
    @deltaforce3329 3 ปีที่แล้ว +2

    Thank you !!
    I will Always support you !!

  • @sidequestuk
    @sidequestuk 2 ปีที่แล้ว

    Thanks for this I struggled with this but it’s actually super simple. I think it’s the names and wording.

  • @nadsmarcelo8863
    @nadsmarcelo8863 2 ปีที่แล้ว

    The best explanation regarding this callback function!

  • @brainlesstechie5490
    @brainlesstechie5490 ปีที่แล้ว

    Wow.... thanks i struggled with this for min, i think seeing its practical application really helped. Tx

  • @eddasjbertrand
    @eddasjbertrand 2 ปีที่แล้ว

    OMG I was struggling hard to understand this. Your explanation was very didactic.
    Thank you very much!!!
    Subscribed

  • @Coding1on1
    @Coding1on1 10 หลายเดือนก่อน

    You are a great teacher, thank you.

  • @practical-skills-school
    @practical-skills-school ปีที่แล้ว

    Thanks a lot, this parenthesis trick explains perfectly

  • @nguyennghialan
    @nguyennghialan 11 หลายเดือนก่อน

    The best part is using arrow function to make a callback with input parameter. I understood. Thanks,

  • @wiliam334
    @wiliam334 4 หลายเดือนก่อน

    Thanks for the video. Very helpful.

  • @norrismwiinga4145
    @norrismwiinga4145 2 ปีที่แล้ว

    Very well explained thank you so much!

  • @germansilva7947
    @germansilva7947 ปีที่แล้ว

    omg i cant believe this was getting me so confused. Big thanks!!

  • @TheSmoothPower
    @TheSmoothPower 11 หลายเดือนก่อน

    Excellent explanation.

  • @brucew2099
    @brucew2099 2 ปีที่แล้ว

    Thanks Ania. This video helps a lot.

  • @ManiasInc
    @ManiasInc ปีที่แล้ว

    Thanks for the explanation!!! It was very clear and useful for me!! finally, callback explained in the easy way 👏👏🎉🎉
    Thanks a lot!!🙏💖

  • @vigneshparameshwaran4921
    @vigneshparameshwaran4921 2 ปีที่แล้ว

    you are amazing, best tutorial out there! Love u

  • @cyb3r1
    @cyb3r1 2 ปีที่แล้ว

    Great explanation, thanks.

  • @RogerontheKeys
    @RogerontheKeys 5 หลายเดือนก่อน

    thank you, i feel like i'm at a better spot then i was 10mins ago learning about callbacks for the first time.

  • @Stereotica
    @Stereotica ปีที่แล้ว

    Amazing explanation, thank you very much. ❤❤❤❤

  • @chule590
    @chule590 2 ปีที่แล้ว

    You're a Genius!!! Thank you!!!

  • @philipmwangi5270
    @philipmwangi5270 3 ปีที่แล้ว +4

    Ania, could you please do a series on interview questions.

  • @haldousuxley
    @haldousuxley 2 ปีที่แล้ว

    Holy cow, best explanation ever!

  • @Althejka
    @Althejka ปีที่แล้ว

    Thanks, I've just finally understood callbacks😜🙏

  • @simongustafsson348
    @simongustafsson348 ปีที่แล้ว

    Great explanation of callbacks!

  • @ella6782
    @ella6782 4 หลายเดือนก่อน

    Wow. Really understood what you taught.❤❤❤❤

  • @vern0312
    @vern0312 2 ปีที่แล้ว

    great explanation, thanks

  • @viorelmnk
    @viorelmnk 2 ปีที่แล้ว +1

    I have to be honest and say I had almost no expectations of understanding from you what I didn't from others about callback functions. And you know what? I was amazed of how easy you've made it look, and I really understood them! It was one of those moments you raise your eyebrow and say: "wait a minute! Ahaa! "Well done! You've caught my attention, starting today! :D

  • @LatinoWebStudio
    @LatinoWebStudio 2 ปีที่แล้ว

    That was a great explanation. Thank you so much!

  • @kathiateran5826
    @kathiateran5826 2 ปีที่แล้ว

    Thank you! You're really good at explaining functionality in detail!! :D

    • @aniakubow
      @aniakubow  2 ปีที่แล้ว

      Thanks so much for watching Kathia!

  • @rangabharath4253
    @rangabharath4253 3 ปีที่แล้ว +1

    Awesome as always Ania thanks 👍😀

  • @MrRisn
    @MrRisn ปีที่แล้ว

    thank you , that is a good and clear video.