🎉👨🏻💻 JavaScript Promises and all their glory! This is episode 12 of a 10 part series I’m calling 10 things Javascript Developers Should Know But Probably Don't. Enjoy!
@onlineaid2 жыл бұрын
Amazing series :)
@DanielNetSet2 жыл бұрын
12 out of 10? thats a out of bounds/stack overflow
@davidhusted817 Жыл бұрын
You promise 10 episodes but now in 12 😂😂
@extreme8879 Жыл бұрын
Promises
@kiranrega108 ай бұрын
Which js compiler are you using?
@IntrinsicFlake Жыл бұрын
I’ve been watching videos for years trying to make sense of Promises, and while I got through it, I’ve always wanted to come back and really understand them. Your video turned the light bulb on for me. Wow! I had to tip you for the help! I appreciate it so much! Definitely subscribing!
@ColorCode-io Жыл бұрын
That’s so great to hear. Thanks for sharing.
@deveren Жыл бұрын
@@doublewhopper67 ure da g
@amanueletana Жыл бұрын
This is not only coding tutorial rather its an ART!
@ColorCode-io Жыл бұрын
♥️🙏
@Saliha_Abid Жыл бұрын
I am a 15 year old learning front-end development and struggling with promises. After 3 days of exhaustion I found ur video and finally got the whole concept. Thank you for this masterpiece 😍😍
@AriKhuu Жыл бұрын
I'm so happy to be finding your channel I want to cry. Impeccable production. Clear examples. Perfect pacing - not too fast, not too sluggish. Detailed yet very follow-able explanation. Funny host. thank you thank you thank you.
@ColorCode-io Жыл бұрын
Let’s cry together
@MatthewWilliams-1212Ай бұрын
As a lead engineer I have to say, these are by far the best tutorials for javascript on youtube. Fantastic for mentoring junior devs. It baffles me how this channel doesn't have more views!
@ColorCode-ioАй бұрын
That's ok! Numbers go up with time :)
@AJD...2 жыл бұрын
Been watching your shorts for a while, decided to hop into your channel and this is the first video I watched. Holy hell the quality of your videos is mind blowing. You put so much effort into edits and your explanation is very planned, with a set preordained path which makes the most sense. You've got a new sub.
@ColorCode-io2 жыл бұрын
Thanks AJD. Very nice of you.
@abahiduh32462 жыл бұрын
I have watched the best vidoes of Kyle Simpson, Tyler McGinnis, Tony Alicea, colt Steele, Jim cooper, Aksay, Ania, Maximilian, Sasha, I can go on and on.... I spent A LOT of Money just to understand. I have watched ALL YOUR VIDEOS. I can assure you that this explanation got.YOUR EXPLANATION of SIMPLIFYING THE CODE before refactoring in simply the Best. Your tutorial is AMONGST THE BEST THREE for me. THANK YOU, THANK YOU, THANK YOU.
@ColorCode-io Жыл бұрын
Thank you so much. This is very encouraging to hear.
@lemonbubble1243 Жыл бұрын
3 days ago I wanted to watch just this video but the title made me look for the whole series, and I knew that to understand better I needed to watch the previous episodes, and OMG I'M GLAD I DID. I feel I have like a super knowledge now, EVERYTHING MAKES SENSE NOW!! I don't know how to express how grateful I am!! I'm so excited because you cleared all my doubts about promises and not just promises, now I understand Objects() way better! THANKS!! Waiting for your master class!!
@ColorCode-io Жыл бұрын
Glad to hear it! Full course coming soon.
@RaviCreative3-ge4ne Жыл бұрын
eagerly waiting man @@ColorCode-io
@Gargantuan_Inferno3 ай бұрын
Why does youtube algorithm hide such gems from the millions who would have subscribed had they been recommended such videos❤ Would handsomely pay for such quality
@ColorCode-io3 ай бұрын
♥️
@aleksazlatkovic4663 Жыл бұрын
What a charismatic person you are. Good Lord. I started the video knowing nothing about Promises and I am finishing it as an absolute pro. Thank you for going into detail.
@ColorCode-io Жыл бұрын
Thank you. Made my day.
@神キラー2 жыл бұрын
i can tell you put a lot of passion and effort into your work bro its inspiring
@Javier_CoradoАй бұрын
I come from a C/C++ and Python background, because of my current job I've been struggling with JS concepts, definitely these videos have helped me a lot, thanks for putting quality content available for everyone!
@ColorCode-ioАй бұрын
That's great to hear. Thanks Javier.
@AnastasiiaSnihurАй бұрын
Now I know why I enjoy your videos so much! It's not just because of youre sense of humour and vibe, but also because of the bg with the Sade album cover😍It's a perfect match for my preferences!
@ColorCode-ioАй бұрын
Great catch! 👀♥️
@kimashiidan6 ай бұрын
Cannot believe I'm watching this for free, you are the goat
@ColorCode-io6 ай бұрын
Thanks
@xClown552 жыл бұрын
There aren't many video's that are 30+ minutes worth rewatching, but this one certainly is. Nice video
@vighneshs416 Жыл бұрын
I stumbled upon your channel from a random KZbin shorts. I am very certain that soon you are going to be a lot of people's go-to channel for Javascript (Or anything that you make content on). The effort you put in to make the concepts intuitive is just top-notch. And I guess it is very evident from the other comments as well. Thanks for the effort you are putting in man
@blaqhakym Жыл бұрын
Exactly the same for me. Looks like I will be here for a while. I'm hitting sub right away
@ColorCode-io Жыл бұрын
Thank you both! Welcome aboard.
@whathuh69653 ай бұрын
I must tell you; that was exceptional! I've been learning JavaScript for 4 days and I'm already up to Async and this helped a lot.
@ColorCode-io3 ай бұрын
Glad it helped!
@rokesby6 ай бұрын
Thanks for this explanation. I appreciated you typing up the code 'by hand'. This 'slowing down' enhances my learning and lets me type along with you. Well done!
@ColorCode-io6 ай бұрын
Glad it was helpful!
@erickchavez4551 Жыл бұрын
I really like how your examples lead to real life situations and at the end it doesn't seem that complicated. Thanks!
@ColorCode-io Жыл бұрын
Thanks!
@johnnya2462 жыл бұрын
A very underrated channel. I like your style of teaching! Thank you for the content! Keep up the good work!
@ColorCode-io2 жыл бұрын
Thank you
@mashmixture56622 жыл бұрын
Learn alot from ColorCode in just one month. Such an amazing content. The way you explain things is very very very interesting and funny. *Best JS channel* on KZbin. Thanks for such a premium content. Please deliver more.
@ColorCode-io2 жыл бұрын
Thanks a lot
@strangelight159 Жыл бұрын
5 minutes into the video and I can already tell that you are criminally underrated. Subbed
@ColorCode-io Жыл бұрын
Hah thank you
@guy_roh2 жыл бұрын
Thank you so much for making an actually apprehensive video that normal people can understand, explaining the why's and how's in a much better detail than a lot of other videos I've watched! Subscribed and added this to my favorites in case I should I need it in the future! 👍
@ColorCode-io2 жыл бұрын
Thanks Guy!
@nikolanovakovic4150 Жыл бұрын
Brooooooooooooo 🎆🎇❤🧡💛💚💙💜 first of alll, love your humor, second of all amazing content struturing it is so well organized an succinct and i will do what all the other people in the comment section did compliment how good your videos are. much love !
@ColorCode-io Жыл бұрын
Thank you so much
@rjerez2 жыл бұрын
Great work Sina, this is a subject that a lot of people seem to get wrong on interviews. Now I can refer them to this video. 👍🏽
@ColorCode-io2 жыл бұрын
Thank you Ronald for your support, always!
@BitWizCoder Жыл бұрын
This is the first time I'm seeing this guy, 30 seconds into the video, and I had to subscribe. Thanks for the video and the fun!
@chaoticthundergod3368 Жыл бұрын
Thank you for this video. Leaned a lot. I was learning about promises a year ago, didn't understand much so skimmed through it. But now i can explain to others what a promise is.
@ColorCode-io Жыл бұрын
Wonderful!
@msunrl85772 жыл бұрын
24:28 u so right about repeating and coding from scratch again and again, this so important to memorize and practice some hands on great tutorial, thanks
@ColorCode-io Жыл бұрын
🙏
@Walid-Sahab2 жыл бұрын
How much effort you put for a single video other KZbinrs don't even put to build their whole channel.
@ColorCode-io2 жыл бұрын
Thanks!
@Mr_Pack Жыл бұрын
you're the best of 7 videos about promises I've seen
@ColorCode-io Жыл бұрын
✋✌️
@BrianMurithi-k7t Жыл бұрын
Lot's of gratitude from me here Js Master, this series is really impacting me...
@ColorCode-io Жыл бұрын
Glad to hear that ♥️
@mansoormohmand58522 жыл бұрын
I have seen lots of videos and tutorials but never use this topic of promises in my coding because of the bad and hard explanation, but now I am pretty sure I can use and refer to this great explanation ever, thanks a lot
@ColorCode-io2 жыл бұрын
👍
@m47h4r Жыл бұрын
29:10 A usecase for passing in onError in the .then() is to provide fallback data. For example, if fun1 rejects and then if the onError returns some data, then having fun1().then(fun2, onError).then(onSuccess) means that the onSuccess function will always receive some data, either fun1 resolves successfully and it's all good and well, or onError happens and that provides a fallback value so that onSuccess can always assume it has some data.
@saikumar81866 ай бұрын
Until now, I have been hearing about promises but the way you explained has cleared the concept and become confident to proceed with JS coding. Looking forward for a Javsascript course from you.
@ColorCode-io6 ай бұрын
Glad to hear that
@renzodiaz599611 ай бұрын
30:21 I can't believe Sina missed doing a "finally" pun when he literally was about to explain the "finally()" method. PD: Awesome video man! You teach us, you entertain us, you are a rockstar!
@ColorCode-io11 ай бұрын
You're right. What a missed opportunity.
@theshtig4218 Жыл бұрын
GOATED video. This will be the last promise video I ever watch. Thank you!
@ColorCode-io Жыл бұрын
Appreciate it
@sujith.m.s4041 Жыл бұрын
I got stuck in promise and call back for like 2 days, this reslly helped a lot
@ColorCode-io Жыл бұрын
Nice
@proudmoroccan8164 Жыл бұрын
Thank you for sharing. Immensely appreciated. The best JavaScript promise tutorial as far as I am concerned. Best wishes for the new year.
@ColorCode-io Жыл бұрын
You are welcome!
@HarshitGautam-bj3lc7 ай бұрын
Believe Me you are the best on the KZbin, I have watched tons of videos on Promises but finally i gain much more insight now, thanks a lot one more things please increase the number of videos and no. of frequency you make and upload those videos that would be much more appreciated. Again Thanks a lot. KEEP POSTING DAILY (if possible).
@ColorCode-io6 ай бұрын
Happy to hear that! Thank you
@CW-pd5fq7 ай бұрын
Your teaching style is amazing, please continue your work 🙂
@ColorCode-io7 ай бұрын
Thank you
@mrayaan83778 ай бұрын
You nailed it man.. best explanation on whole youtube. i was frustrated. but now i know the whole concept of promises. SUBSCRIBED🌞❤
@ColorCode-io8 ай бұрын
Glad it helped!
@breemudi Жыл бұрын
My first time ever watching you, and I'm intrigued by your tutoring style. Instant subscriber... Thank you
@ColorCode-io Жыл бұрын
Awesome, thank you!
@theartofreality Жыл бұрын
Man your content is so insightful and relaxed at the same time! Loving it.
@mira100452 жыл бұрын
Please keep this JS series. I like your explanation!
@ColorCode-io2 жыл бұрын
It's going to continue :)
@hao12654 Жыл бұрын
@@ColorCode-io really nice video, please do continue!
@ade_aprianto2 ай бұрын
Perfect explanation of promise, you just got new subscriber! 👍
@ColorCode-ioАй бұрын
Welcome to the channel!
@Epikht2 жыл бұрын
i'm gonna comment fort the third time, that is the best video about Promise all over this app I spend 2 days on it, messing around with my own things Thanks a lot Color Code
@ColorCode-io2 жыл бұрын
That’s awesome. Glad to hear it.
@RandyHawkinsMD Жыл бұрын
Thanks!
@ColorCode-io Жыл бұрын
Thank you so much Randy
@oilybrakes Жыл бұрын
You explain stuff really well. I will watch lecture 11 and 12 again before going to 13 and take notes of stuff that I understand so I can call it back to memory with clues my brain considers the most helpful. But even now, there were moments of enlightenment along the way... But I already forgot😅😂
@ColorCode-io Жыл бұрын
Glad to hear it!
@mikeyim95972 жыл бұрын
Glad I found your channel. It's the best explanation of the Promise and Async Await. Can you please do a series on the same topic for database CRUD? Thank you.
@ColorCode-io2 жыл бұрын
I'm considering doing one on CRUD operations with Firebase.
@xenocampanoli815 Жыл бұрын
BTW your "do it yourself" admonition reminds me of the advice at the beginning of all the old Charles Berlitz language tapes where he said: Read it, Hear it, Speak it. He may have also said "Write it" sometimes, but his point was memory reinforcement that is as functional as possible.
@ColorCode-io Жыл бұрын
🙏♥️
@EducationSimplified Жыл бұрын
Awesome explanation, I thought it was a difficult thing but you made it way tooo simple. Thank you for your time and efforts. God may bless you a lot.❤❤
@ColorCode-io Жыл бұрын
Thank you!
@ashaymotiwala96 Жыл бұрын
Best Javascript tutorials on YT!
@ColorCode-io Жыл бұрын
Ty!
@sourikray22912 жыл бұрын
You are a wonderful teacher. Thank you for creating these videos🙏
@ColorCode-io2 жыл бұрын
Thank you!
@ahmedAltariqi Жыл бұрын
That was pretty well explained, and FUN to watch ! Thank you, Weather Man!
@ColorCode-io Жыл бұрын
Very welcome
@ariseawake34372 жыл бұрын
I am giving a Promise that i will do practice and learn with this video ....Thank you
@ColorCode-io2 жыл бұрын
hah nice!
@m.hakania2251 Жыл бұрын
You probably know and probably that's the reason you're making your videos this way, I love the way you constructed your videos!! (from a bro to bro comment)
@ColorCode-io Жыл бұрын
I appreciate that bro!
@toohee8561 Жыл бұрын
This will be the one video that gets me understand the basics concepts of promises. very good video outline and content.
@sunraiii Жыл бұрын
Tell me you play the bass without telling me you play the bass :D Thanks for this video series on JS. Great production quality, easy to understand and even entertaining at times!
"im sick and tired of your broken promises, promises" -3LW Thanks for always upholding your end of the promise Sina!
@ImHansana123Ай бұрын
Bros ability to flex with words is incredible!
@ColorCode-ioАй бұрын
🙏
@jw200 Жыл бұрын
No Promises that I learned to Promise. Excellent tuts and explanations. Liked and subbed! Love your energy🙂
@ColorCode-io Жыл бұрын
Awesome! Thank you!
@ajayrathod7438 Жыл бұрын
I loved your video like every other specially your sence of humor. Can you make one video on Promise.All if possible.
@ColorCode-io Жыл бұрын
👍
@nitishgupta9585 Жыл бұрын
Bro your explanation of concepts is top notch. Keep the good work up!!
@ColorCode-io Жыл бұрын
Thanks Nitish
@pandorofortes9309 Жыл бұрын
Thank you for the knowledge😁😁😁 Your channel is🔥🔥🔥🔥🔥
@ColorCode-io Жыл бұрын
I appreciate that!
@skyfall52888 ай бұрын
ممنونم بابت توضیحات عالیتون. واقعاً به این ویدئو نیاز داشتم... :)) ❤
@matickovac2 жыл бұрын
This is by far the best explanation on the topic I have been able to find, and I must say I love your other videos as well. Love the production quality too, what is the recording software you're using, looks really slick?
@ColorCode-io2 жыл бұрын
The animations are all done by hand. The screen recording is just basic QuickTime.
@sarkorbekabdullaev95812 жыл бұрын
Thank you bro, can't wait for Episode 13 Async/Await
@ColorCode-io2 жыл бұрын
Coming soon
@sameershende7770 Жыл бұрын
Thank you so much. I was really confused on this topic but now I am confident with it. I PROMISE 😅😂.
@ColorCode-io Жыл бұрын
Glad it helped
@rishayshandilya1817 Жыл бұрын
the best explanation of promises I promise :)
@carsten1223 Жыл бұрын
I just came across your channel. You have a really great way of explaining things and giving them some context. Thumbs up 👍and I'm looking forward to hopefully many more videos like this!
@chetanchaudhary10178 ай бұрын
Best video on Promise I have ever watched.
@philliam111 Жыл бұрын
very underrated channel! glad i found you
@ColorCode-io Жыл бұрын
Welcome aboard!
@TimJohnson-h7l6 ай бұрын
Came here for the promise video and noticed that Sade poster in the back - good taste brother!
@ColorCode-io6 ай бұрын
Hell yeah
@avigarg7859 Жыл бұрын
You teach so creatively
@ColorCode-io Жыл бұрын
Thanks
@mohamedabdulmueen2115 Жыл бұрын
I loved everything in this video man, keep it up !
@azamcangame52534 ай бұрын
Best Promise video ever made!
@ColorCode-ioАй бұрын
🙏
@ferreven2558 Жыл бұрын
Thank you so much for this video! Finally someone who can explain promises well.
@ColorCode-io Жыл бұрын
Glad it was helpful!
@LizyAd6 ай бұрын
Thank you for making this video! I love the way you teach!
@ColorCode-io6 ай бұрын
Thanks for watching!
@RoockYou Жыл бұрын
Your explanation is so funny and so helpful at the same time, Hope you keep doing videos this way
@ColorCode-io Жыл бұрын
Ty!
@BigSmoke-r9w10 ай бұрын
Thank you so much for this!! ❤❤❤❤
@johnforeverrules Жыл бұрын
thank you so much Mr Sina. Promises confused me a lot. God bless
@ColorCode-io Жыл бұрын
Glad to hear that
@EddyonJS4 күн бұрын
💛❤️great teaching style all my concepts got clear. your keyboard sound gives asmr vibes can i know which one? 😅🤣
@mashmixture56622 жыл бұрын
I decided to give more watch time and subscribers as I can to such an underrated channel .
@ColorCode-io2 жыл бұрын
Thanks
@GusGabriel11 ай бұрын
Thank you so much for your lessons, and have some fun coding also 😊😊
@ColorCode-io11 ай бұрын
That's the goal!
@onais__ Жыл бұрын
UUFFFFF The Chaining explanation was 🔥🔥🔥
@theultimategamer72022 жыл бұрын
Great content as usual. Please upload video consistently
@ColorCode-io2 жыл бұрын
👍
@richardradcliffe61782 жыл бұрын
Thank you. Looking forward to your video on async awaits!
@ColorCode-io2 жыл бұрын
Thanks Richard. Coming soon.
@jeffersonr.l2864 Жыл бұрын
This content is simply amazing! Thanks for your effort in creating quality content, I learn a lot thanks to it.
@ColorCode-io Жыл бұрын
Awesome!
@saeed.da1994 Жыл бұрын
you are amazing! Your act is awesome! I see you as Iron Man in Marvel (Robert Downey Jr.) :))) In my opinion, your videos in Promise and Fetch API are the best video that I've ever seen in the internet! It's funny how you suddenly mention Gholi in your video :))) who is hi? :) are you from Iran? :))
@deveren Жыл бұрын
önünde saygıyla eğilmek istiyorum abi :D ben böyle açık bir anlatım görmedim. Thank you so much sir!
@2difficult2do Жыл бұрын
Thus is the best explanation of Promise! Thank you so much!
@ColorCode-io Жыл бұрын
You're very welcome!
@nethunter10182 жыл бұрын
Love the way you explain everything.❤❤ Can you make a video on hoisting in javascript and stuff like javascript execution context.
@cjplabs9 ай бұрын
I know this video is old, but i’ve been coming back to this “10 things you should know…” series every time one of these topics comes up in the Odin Project and they always just make everything click
@Walid-Sahab2 жыл бұрын
جانی بہترین ہوگیا 🔥 🤍
@tanjimulislamsabbir22649 ай бұрын
Wow. That's a great one about promises. 💚
@ColorCode-io9 ай бұрын
🙏
@bakenbard Жыл бұрын
That was really helpful, I'm finally got the basics of it. THANK YOU!
@alanouri99652 жыл бұрын
Very smooth,keep up the good work bro
@ColorCode-io2 жыл бұрын
Always
@Ninvus2 Жыл бұрын
32:10 In the real world example you have two .then's inside of the Promise's callback function. Why would they still work inside of the Promise? Does the catch() function already return a Promise?