Async Await vs. Promises - JavaScript Tutorial for beginners

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

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

  • @ColorCode-io
    @ColorCode-io  2 года назад +35

    Async Await 🧑🏻‍💻 Episode 13 of 20 Things JavaScript Developers Should Know but Probably Don't

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

      go for it

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

      WHICH IDE DO YOU USE

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

      @@Justnadeem bhai guitar sikkha da 😅

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

      What tool are you using for isntant console feedback ?

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

      What's that extension that you are using that shows syntax errors on the right side while you are typing?

  • @jl_117
    @jl_117 11 месяцев назад +42

    this video saved me in an interview. I was asked to explain async/await code and remembered what this video taught me

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

    Underated chanel 😩 hope this thumb up break RUclips algorithm 😂

  • @BigSmoke-r9w
    @BigSmoke-r9w 9 месяцев назад +2

    I am so afraid of this topic, but after you taught it, I finally got how it works. Thanks good sir!
    By the way, that coffee is the cherry on top of this video ❤

  • @serapheogen
    @serapheogen 9 месяцев назад +2

    I thought Brad Traversy was my favorite instructor on RUclips, and I do love his work but I can't wait for your JS course. You don't miss a single step/detail out and that's invaluable. No need to jump around video to video to find a crucial missing piece of information that was missed from a video which got me 80% the way there but not 100%.

    • @ColorCode-io
      @ColorCode-io  9 месяцев назад +2

      Glad to hear it! 🙏

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

      @@ColorCode-io Do you have an idea yet of when it’s scheduled to release?

  • @businessnews5710
    @businessnews5710 4 месяца назад +2

    I realized from the start that you're more focused on adding value than just gaining subscribers. That's impressive! ❤

    • @ColorCode-io
      @ColorCode-io  4 месяца назад

      @@businessnews5710 ♥️👌🏼

  • @bmehder
    @bmehder 2 года назад +6

    Glad to see more videos in this series. It's been a while. I blame Craig.

  • @abdullah-ayy
    @abdullah-ayy Год назад +7

    This is by far the best Javascript tutorial in my opinion. I did watch JS tutorials on over 100 different channels and couldn't find any explanation that can compete with your explanation so thank you for the great content. You deserve millions of subscribers.

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

    Thank you for this javaScript tutorial on async/await compared to Promises. It helps a lot to understand better the logic behind each, how each of them differ, and how we use all of these asynchronous operations in par with each other.

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

    This video deserves huge views and channel deserves million subscribers

  • @VaradNarvekar
    @VaradNarvekar 2 года назад +29

    I cant be more thankful to you for providing such quality content !! I have never come across any person before who can explain things in sucha smooth wayyyy !! 2023 gonna be a wonderful year !!

  • @UnifiedFriends
    @UnifiedFriends 2 года назад +4

    Long awaited, finally allSettled && fulfilled.

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

    Sina dadash damet Garm. First time I heard about asynchronous JavaScript coding was about 4 years ago and I did never completely understood how to use async, await, promise and then blocks until I watched your videos. Good F**** Job.

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

    Please continue this series is dope.

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

    Amazing explanation.
    I'm a backend dev trying to learn react and async await gave me headaches till i found your videos

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

    One thing special about this 20 video series is that you helped most of us in advanced for what we will soon encounter as we move on to take the software developer role in the future. Thank you. Your effort means a lot to me.

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

    Thankyou for this detailed yet follow along video
    Long live from Nepal 🇳🇵

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

    Honestly i've been learning for just over a year now and I come to your videos when i'm confused with a concept and need to sit down and understand it. I genuinely appreciate your videos and I hope you keep going long into my future career.

    • @ColorCode-io
      @ColorCode-io  Год назад

      Thanks Josh

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

      Joshy lad, fancy seeing you here! Did I share ColorCode with you or did you share it with me?

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

    bro thank you for this! explaining it clearer and very precise its a gift for beginners learning and want to understand how things work in javascript!

  • @fengz-x7z
    @fengz-x7z Год назад +7

    I would suggest that you release "Javascript Mastery" course NOW! As a student, I don't need to go over your entire "Javascript Mastery" course. I just need to watch some of the videos on topics that I am struggling with, so just show us what you have, and charge us, students, on a subscription basis.

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

    Really liked the way you make others understand the concepts,repetition is the key.

  • @MohamedAhmed-tt2nz
    @MohamedAhmed-tt2nz 2 года назад +11

    20 episodes might not be enough, great work again !!

    • @ColorCode-io
      @ColorCode-io  Год назад +10

      Ok 100

    • @ShantanuSingh-nu7kv
      @ShantanuSingh-nu7kv 9 месяцев назад

      @@ColorCode-io yes yes yes dear sir yes

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

      @@ColorCode-io Go really deep in JS core concepts please.

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

    Congratulations on +30k subscribers ❤

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

    I know is a bad practice but didn't even bother put a catch block on your video, i'm 100% sure the promised of good content will be fullfilled even before watching it :D ! Thank you for your work for the community !

  • @kitchen-e-kausar9105
    @kitchen-e-kausar9105 4 месяца назад

    I found your channel via a short, and watched many long videos, I'm going crazy how I didn't comr across your videos sooner. I told my friends that you are Ryan Reynolds of javascript ❤❤

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

    Billion subscribers will be here one day. What a quality ❤️

  • @mickeymacke1780
    @mickeymacke1780 2 года назад +1

    nearly at 22k a few days into the New Year. Congrats and THANK YOU for such great content.

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

    Your way of explaining is something else (in a good way). I couldn't wrap my head around this topic but after watching this video it's piece of cake. Thank you

  • @HadjerKhelil-t7y
    @HadjerKhelil-t7y Год назад +1

    the way you explain things in such an easy and well- structured way is honestly admirable, i was a bit lost and you helped clarify all the ambiguities i had

  • @mikelis_silins
    @mikelis_silins 5 месяцев назад +1

    Bro, this is super underrated YT channel, crazy good!😃

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

    خیلی خوشحالم که توی طبقه 16 با شما اشنا شدم و شمارو شناختم🤩دیدن یک ایرانی که توی نیویورک هستش و برای شرکت بزرگی مثل ادوبی کار میکنه واقعااا به آدم انگیزه زیادی میده💫امیدوارم همیشه موفق باشید و اگه امکانشو داشتید ممنون میشم از مسیری که طی کردید هم توی ویدیویی یا ..... بگید تا مسیر برای برنامه نویس های جونیور داخل ایران که رویای کار توی شرکت های بزرگ رو دارن روشن تر بشه🔥به امید دیدار از نزدیک توی نیویورک ;)

  • @lloydchan9606
    @lloydchan9606 2 года назад +1

    underrated channel really, thanks for the goods

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

    Crazyyy! This guy is super sleek and cool. Feel like I'm watching Netflix while watching your videos sir! Super cool!!

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

    Great Lesson

  • @vasudev16180
    @vasudev16180 2 года назад +3

    I can't wait for more content brother. Keep going.👍

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

    My favorite place to learn about coding. Thanks for these amazing videos.

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

    ⭐⭐⭐⭐⭐ for Quality, Explanation, Presentation.

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

    Absolute genius....Your way of explaining is just the best on Yt

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

    Just subbed, watched some of your videos and your are really good att explaining!

  • @meryemk.4884
    @meryemk.4884 Год назад

    Hearing Qoli's name kept taking my by surprise and made me smile a few times ahahah Great lesson!

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

    I would say it's 13 out of 10 for this video. great content. look forward to next episode.

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

    Your delivery is a masterpiece, you make learning so fun. Thank you so much

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

    Hey Sina!
    I just wanted to give you a shoutout and let you know how much I've been enjoying your JavaScript tutorial videos on RUclips! Seriously, you make learning JavaScript so much more fun and less intimidating than it would be otherwise.
    I've struggled to wrap my head around some of these concepts before, but you explain everything in a way that's easy to understand and not at all boring. Plus, you inject some personality and humor into your videos, which makes them even more enjoyable to watch.
    Keep up the fantastic work, and looking forward to seeing more awesome videos from you!
    Cheers.

    • @ColorCode-io
      @ColorCode-io  Год назад

      Thanks for taking the time to write. Glad to hear all of the above. More videos coming soon.

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

    Sina doing god's work fr

  • @PauloPinheiro-j8n
    @PauloPinheiro-j8n 8 месяцев назад

    Audio Code... best name ever for your pod cast

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

    thank you for quality content.
    watching this 2 month later your subscribers almost doubled itself! for a good reason!
    you gonna have to continue this to a 30 parts series :D

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

    This post was resourceful thanks, but how do I make async in a promise func,

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

    really thank you for making it very simple in code with explanation. this is very unrated and exceptional video.

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

    Please keep us this phase of decluttering JavaScript concepts.

  • @poonamkhatri2782
    @poonamkhatri2782 2 года назад +1

    Keep coming with these videos...😍

  • @Salah-YT
    @Salah-YT 2 года назад +2

    glad to see u again bro and Happy New Year 2023 so keep it up good work with JavaScript thx

  • @ДаняЛяторовский
    @ДаняЛяторовский 11 месяцев назад +1

    Your videos are amazing. I'm watching 3d in a row. Now async code is not a mess for me. Huge thank you. Also throughout all these videos I was wondering what ide are you using?

    • @ColorCode-io
      @ColorCode-io  11 месяцев назад

      Chrome DevTools and RunJS: runjs.app/colorcode

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

    Hey man, just discovered your channel while cramming for a job interview next week. Thanks for the succinct explanations and dope style. Keep it up.

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

    Love your teaching style, thank you for providing high quality lessons/content 🙏🏻

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

    That is the perfect study materials that you're doing. I've never seen something better. Thanks a lot for your job!

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

    when is the podcast ready? can't wait for that! you're an excellent teacher btw keep going

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

    just found your channel, very nice and clear tutorials! thanks

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

    your way of teaching are top tier furthermore impressive

  • @awaismohsin345
    @awaismohsin345 2 года назад +1

    First Comment 👍👍👍
    I was waiting for a long time, Thank You Boss,

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

    Apart from all the technical side, I love the positive vibe this video delivers! Coding should be fun and enjoyable, very informative video and subscribed. I shall wait for your JS full course as well.

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

    Hi Sina, you mentioned in this episode that an episode just for Error Handling. So we will be getting one?

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

    Really appreciate you putting these videos . These are really the best tutorial and is helping alot also can you please mention the actual date of the course you gonna launch?

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

    I didn't know Stanley Tucci knew JS so well... thanks for the content..

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

    Amazing explanation. Thanks so much!
    Can't wait for the next episode - would love to see tutorials even.

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

    Much awaited video. Can you please make projects too on js and nodejs?

  • @damianaruj3846
    @damianaruj3846 2 года назад +2

    Dude ur awesome!! Thanks for sharing ur knowledge

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

    maaan , i know i'am a bit late ,but i fuckin love you man , this playlist is the best thing that ever happened to me. it was realy helpful . (plus the qoli thing is really funny😭😭😭😭😭😭😭😭 )

  • @mikelis_silins
    @mikelis_silins 5 месяцев назад +2

    The door has crazy good placement😯, with that text showing up, I see that you have been working on this for a while

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

    This is highest level quality content u are creating I have seen in RUclips much respect love from India please make more videos on JS absolutely loving it it's more interesting even I have skipped my fab webseries to watch these masterpiece ❤

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

    dude, you are doing amazing stuff! thank you and keep going please)

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

    Thank you for sharing this tutorial! I got this concept of Javascript more clearly! Hope you keep going this work!! 🌞

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

    Incredible video. Thank you

  • @AlisaHaman
    @AlisaHaman 2 года назад +8

    So good you might as well make it a 30 part series 😉

  • @darshanpandya1087
    @darshanpandya1087 2 года назад +1

    your presentation of the topic so nice that i don't have to write it down and go to another site for clarifications and i liked it very much. Thank You > 3 : )

  • @codie12
    @codie12 2 года назад +2

    Nice explanation!!!

  • @PatrikRasch
    @PatrikRasch 2 года назад +3

    I know these must take a ton of time, but please never stop 😂. These are super helpful and genuinely deserve a lot more views. I'm going through The Odin Project to get into webdev and your videos are both entertaining and educational.

    • @ColorCode-io
      @ColorCode-io  Год назад +3

      Thanks Patrik. Good to see you here.

  • @kyleh1623
    @kyleh1623 10 месяцев назад +2

    tbh, this series deserves millions of views for all the devs out there who want to sort such js concepts out

  • @ollienicholson
    @ollienicholson 2 месяца назад +1

    loved this video thank you!

  • @АлександрЦветков-и3п

    Thank you very much for a detailed and visually engaging explaination in terms of the animated code on the screen, the montage, and the way you're explaining the topic yourself. I am watching your js async related videos currently and making notes and actually comprehending this not so easy to grasp topic thanks to the way you present your explaination. This is quite a work to put all these pieces together that would result in such a high-quality content. Admire your work and time you put into it, thank you 🙂

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

    Great video thank you! Well explained and engaging!! Just out of curiosity, what app were you using and what font was that?

    • @ColorCode-io
      @ColorCode-io  Год назад +1

      App: RunJS. Font: Monaco

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

      @@ColorCode-io Ahh ok. Yeah I thought it Run JS (which I have), but your window looked different, and I saw in the settings you can turn off borders/tabs for single tab. Pretty cool! And thanks! 🙏

    • @ColorCode-io
      @ColorCode-io  Год назад

      @@HeyNoah I manipulate the image in post production and draw my own window to remove clutter. So it might look a little different on your end.

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

      @@ColorCode-io I got ya. But what's neat is, you don't actually have to do that for run JS. Under Preferences > Appearance > Tab Bar (last option, uncheck). You can uncheck Tab Bar and it will look like yours. No tab or anything. Just nice and clean.

  • @papsotos
    @papsotos 2 года назад +2

    Woah, was there a Tool reference in this 46 & 2 part? Great video!

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

    Спасибо за ролики. отличная подача и все понятно 😀

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

    Thanks a lot for the detailed information about async/await.
    I was struggling for a week to understand using fetch inside a loop. Now I know how to use the async/await .. if it is possible, please create a short video about using async/await inside a loop ,
    Thanks and subscribed !

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

    Very quality content! It'd great if you could show how async/await works under the hood

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

      I'm curious about this as well. How does resolve get set? When an async function returns a promise, how does the caller handle that?

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

    Great tuts!

    • @ColorCode-io
      @ColorCode-io  Год назад

      🙏

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

      @@ColorCode-io for a bit more feedback, I particularly found it useful how you made the connection of between the next, catch functions and the resolve reject. Also, didn't know that I could have an error as the second parameter in next. Really thorough deep-dives, thank you!

  • @poonamkhatri2782
    @poonamkhatri2782 2 года назад +2

    I want this series to be a never ending series..😄

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

    درود بهت سینا جان واقعا توضیحاتت خیلی خوبه کیفیت کارت هم خیلی بالاس ادامه بده حتما این مسیرو

  • @dineshreddy8915
    @dineshreddy8915 2 года назад +1

    Its Perfect every thing is perfect

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

    Thanks for making me laugh while teaching me how to fulfill my promises! 😊

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

    love the quality content....keep it up!

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

    Finally completed the series. waiting for new video.

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

    you are legend man you helped me

  • @NinjaJutsu-y4d
    @NinjaJutsu-y4d Год назад

    Superb Content, you are Awesome.

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

    Is this kind of level of knowledge is required for a Junior Frontend position? It's a Must have? Good to have? or Nice to have?
    Thank you for everything!

    • @ColorCode-io
      @ColorCode-io  Год назад

      Pretty important to know since async await is very very common these days.

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

    The hero we didn’t know we needed💯🫡

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

    Love your tutorials. What are javascript editor / REPL are you using for your videos. It's very cool.

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

    HELL YEAH!!! 💪🏽💪🏽💪🏽

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

    Always support🎉useful channel!

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

    JavaScript Async/Await; beautifully presented. Thanks, Sina
    {2023-06-21}

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

    Thank You Very Much For giving smooth explanation for holy content.... awesome video.