Async Await vs. Promises - JavaScript Tutorial for beginners

preview_player
Показать описание
The JavaScript Tool I'm using to demonstrate:

ColorCode Etsy Merchandise store:

JavaScript Async Await, how to use them with Promises, and more importantly why?! This is episode 13 of 20 things Javascript Developers Should Know But Probably Don't.

00:00:00 Intro
00:01:04 How Promises work
00:02:18 Await!
00:04:00 Async!
00:05:55 Async/Await vs. then block
00:07:12 Real example with fetch()
00:10:58 6 important points about Async/Await
00:14:20 Error Handling with try/catch
00:20:49 Final thoughts on Async/Await
00:21:22 20,000!
00:21:45 ColorCode Podcast
00:22:22 ColorCode Merchandise Store 👕
00:22:38 New website
00:22:59 YouTube Shorts
00:23:12 Update on JS Mastery Course

Links mentioned in the video:

ColorCode Etsy Merchandise store:

Episode 11: Asynchronous JavaScript:

Episode 12: JavaScript Promises:

JavaScript Promises in 1 Minute:

Using Await without Async in JS Modules (MDN):

JavaScript Promises from the series "20 Things JS Developers Should Know but Probably Don't"

*** Announcement ***
Full JavaScript Mastery course is coming! Details at the end of the video. Sign up for Early Access here:
Рекомендации по теме
Комментарии
Автор

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

ColorCode-io
Автор

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

jl_
Автор

Underated chanel 😩 hope this thumb up break YouTube algorithm 😂

copytopgrade
Автор

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.

abdullah-ayy
Автор

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

bmehder
Автор

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 !! <3 Its fun, informative and eye pleasing all at once !!

VaradNarvekar
Автор

I thought Brad Traversy was my favorite instructor on YouTube, 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%.

serapheogen
Автор

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.

JoshIbbotson
Автор

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 ❤

BigSmoke-rw
Автор

Long awaited, finally allSettled && fulfilled.

UnifiedFriends
Автор

One of the best videos I have ever watched on the subject. Dude, you are a very good educator.

daxcor
Автор

Thanks a lot! this video was very helpful. I had 0 knowledge of js and had to do a ppt on async js and this video series helped me a lot!

ranchokastudent
Автор

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.

Leesdjo
Автор

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

RadoslavPhanVan
Автор

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

MohamedAhmed-ttnz
Автор

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 <3 i cannot thank you enough.

HadjerKhelil-ty
Автор

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

jpsingh
Автор

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

businessnews
Автор

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.

fengz-xz
Автор

Thank you so much for helping me understand these points of asynchronous js which confused me for days. I'll definitely review all these episodes to enhance my understanding. I really love your teaching style btw!

unmandarinoalgiorno...