16.11: Promises Part 1 - Topics of JavaScript/ES6

  Рет қаралды 332,684

The Coding Train

The Coding Train

6 жыл бұрын

What is a JavaScript Promise?
🎥 Next Video: • 16.12: Promises Part 2...
🔗 Giphy API: developers.giphy.com/
🔗 Wordnik API: developer.wordnik.com/
🔗 Promise on MDN: developer.mozilla.org/en-US/d...
🔗 Fetch on MDN: developer.mozilla.org/en-US/d...
🎥 Giphy API Tutorial: • 10.10: The Giphy API a...
🎥 Wordnik API Tutorial: • 10.8: Wordnik API and ...
🎥 let vs var: • 16.1: let vs var - Top...
🎥 ES6 Arrow Function: • 16.3: ES6 Arrow Functi...
🚂 Website: thecodingtrain.com/
💖 Patreon: / codingtrain
🛒 Store: www.designbyhumans.com/shop/c...
📚 Book recommendations: www.amazon.com/shop/thecoding...
💻 github.com/CodingTrain/website
🎥 For more videos on ES6/JavaScript: • 16: Topics of JavaScri...
🎥 For more Coding Challenges: • Coding Challenges
🔗 p5js.org/
🔗 processing.org
📄 Code of Conduct: github.com/CodingTrain/Code-o...

Пікірлер: 503
@rashidabrarriyad3910
@rashidabrarriyad3910 3 жыл бұрын
He is the most happy person in the world. Even a dropped marker makes him happy 6:10
@chathurasamarajeewa1578
@chathurasamarajeewa1578 Жыл бұрын
This is the best teacher I have ever seen in the youtube. Thank you for your contribution to the young developers
@elisamartinez202
@elisamartinez202 6 жыл бұрын
Please someone give a piece of the best cake to this man!!!! Thanksssss ❤❤❤❤❤
@TheCodingTrain
@TheCodingTrain 6 жыл бұрын
I also love pie ❤
@iulianalupu9851
@iulianalupu9851 5 жыл бұрын
{\__/} ( • - •) / ⊃ 🎂
@jurjenvanderhoek316
@jurjenvanderhoek316 4 жыл бұрын
I will try, but i cannot promise ...
@komatikvengeance8811
@komatikvengeance8811 3 жыл бұрын
@@jurjenvanderhoek316 He will await ...
@legionleschyzophrene4929
@legionleschyzophrene4929 3 жыл бұрын
@@komatikvengeance8811 Has it been resolved yet?
@Rubariton
@Rubariton 2 жыл бұрын
Man what a joy to watch this video. These are the teachers you longed for in school. Such enthousiasm, such great energy and so clear in explenation. I never got explained why to use the return word after having fulfilled a promise and then use the .then method again. This is so clear. Thanks a bunch
@antonioquintero-felizzola5334
@antonioquintero-felizzola5334 5 жыл бұрын
You probably are one of the best teachers out there. It is sublime the way you explain with such passion. Your channel is one of main raisons I keep coming back to KZfaq to learn. Thank you!
@danilo86petrovic
@danilo86petrovic Жыл бұрын
I agree! I have the same thought!
@thatsalot3577
@thatsalot3577 2 жыл бұрын
Your channel give me those vibes which you get as a kid while watching a DIY tutorial on a television in 2009.
@yuudaemones2624
@yuudaemones2624 4 жыл бұрын
I really appreciate how this fella always seems like he's having the best time in these videos. Love it. Always putting out contagiously positive, straight-up giddy vibes, which I didn't realize I was missing until I found this channel. It's perfect for learning this kind of abstract and information-dense material, especially for someone like me, who has a learning disability (ADHD/ADD). It can be debilitating if I forget to set my alarms (which are meant to break-up any prolonged periods of distraction) or don't happen to be in a state of hyperfocus (which only results from finding something so mentally stimulating that it meets the threshold for something worthy of commanding my full attention, at which point a switch in my ADHD brain is flipped and temporarily disables 99% of my disability's symptoms and basically causes me to channel the Buddha and maintain focus). Talk about getting side-tracked. Anywayyyyyyyyyyyy, my point is that this gregarious fellow's style of teaching never fails to keep me interested in, and actively engaged with, the material being covered. Most channels that cover this stuff just do dry, monotone code-along tutorials from a computer chair and rarely provide more than a shallow explanation (e.g. reciting a condensed or verbatim summary straight out of the docs) of what the code they're writing actually does. Rarely do they go into what it doesn't do, what other technologies it interacts with, why it works, or last but not least (and IMHO one of the most important things a teacher who knows their craft will include in their lessons) why it's actually really cool and worth getting hyped about learning and using. Homeboy has all that on lock and consistently delivers, so for me, stumbling upon this channel was like stumbling upon a jolly oasis in a mundane desert. Great teacher, great content, great channel. 10/10. Subscribed. All aboard the coding train, let's go. return 0;
@notasophon
@notasophon 4 жыл бұрын
the very fact we are here rather than MDN documentation speaks to the fact everyone learns in different ways e.g. kinesthetic, visual, read/write, auditory. everyone must seek their own means of absorption by trial and error. glad you found yours :)
@RuphiaYen
@RuphiaYen Жыл бұрын
Wow, I mostly put the playback speed to 1.5x on a 20+ min video but your videos are the only ones that I don't do that to because I just straight up enjoy watching you have fun and I love that you don't show us the shortcuts immediately but you enlighten us on how to make a long code look simple. I should have learned from you when I first started 3 months ago. This has become my favorite channel, thank you and I love you and your videos 💕
@prerit714
@prerit714 3 жыл бұрын
Honestly , you are the only person who was able to teach me promises!
@alejandralf1749
@alejandralf1749 Жыл бұрын
Four years since this video was uploaded and still doing its magic. Thanks, thanks and a hundred times thanks for this content! I had a tough day trying to understand promises and finally, I found your video and it threw a lot of light on that topic! Besides, I love the way you explain :)😊
@andersair5636
@andersair5636 4 жыл бұрын
This turned a week of banging my head against the wall trying to grasp these concepts into a big ol' smile. Thank you so much
@TheCodingTrain
@TheCodingTrain 4 жыл бұрын
So glad to hear ! - The Coding Train Team
@jontyschoen
@jontyschoen 6 жыл бұрын
Hi, I am relatively new to your channel and have decided to pick up coding. Just wanted you to know that your videos are extremely helpful and enjoyable. They have allowed me to learn a huge amount in such a little time. Thank you, my good Sir,
@cavinalbertbelga5090
@cavinalbertbelga5090 6 жыл бұрын
The way you teach is very entertaining and fun! Love all your vids!
@deenmohammad785
@deenmohammad785 4 жыл бұрын
This man made this like a child eating a huge medicine tab like drinking water! amazing ! kudos!
@sl8fg
@sl8fg 6 жыл бұрын
I finally got the idea behind promises. Thank you!
@raaghavendrahm4883
@raaghavendrahm4883 2 жыл бұрын
Omg!! Do you believe if I say that you are the only person in the entire universe who made me feel that I can understand this (after quitting!!). I may have to watch it a couple of more times. But, I am sure that I will understand with your explanation. You are a great teacher. Thanks a lot for this, buddy!!
@BurningMarmite
@BurningMarmite Жыл бұрын
Here is the thing. I know perfectly well what promises are in js. I'm not here for learning about promises. I just want to witness this man.
@skybldev
@skybldev 5 жыл бұрын
This helped me a lot! I'm no longer confused about Promises. Thank you so much!
@andresgalvez696
@andresgalvez696 4 жыл бұрын
I gave up watching my udemy instructor, about to sleep. I then came here and Voilá!! I am awake again. Cheer Dude! You made my day.
@igor972
@igor972 6 жыл бұрын
The Promises are much more understandable with your explanation. You are so funny. Thank you!
@zy420806143
@zy420806143 5 жыл бұрын
You are trying very hard to make your tutorial crystal clear and funny at the same time. You did it!
@rubenb2427
@rubenb2427 4 жыл бұрын
OMG this was awesome!!! Finally understanding promises ALREADY helped me solve a key issue in my application, and now I can CLEARLY see all the problems and BUGSSSSSSSS I can avoid with this!!! THANKS for clearly and awesomely explaining this!!!
@ankitjha7620
@ankitjha7620 2 ай бұрын
I love this guy , he is expert of teaching with "high" skill.
@keithchong6960
@keithchong6960 5 жыл бұрын
OMG! holy cow i finally understand what promises are. thanks for being such an enthusiastic teacher.
@isajal07
@isajal07 5 жыл бұрын
The more I watch this video, the more I get comfortable with the Promises! Thanks Dan!
@andresnaranjo48
@andresnaranjo48 6 жыл бұрын
I like how enthusiastic you are and the madness in the explanations. Thank you for all the knowledge!
@rajaaekant
@rajaaekant 4 жыл бұрын
I have been following a lot of your JS playlists and I have never been so much thankful for anyone.
@PackerBronco
@PackerBronco 3 жыл бұрын
This is the best instructional video I've seen on Promises on KZfaq. I'm at my standing desk and giving you a standing ovation.
@jlcdrivewayramps7343
@jlcdrivewayramps7343 3 жыл бұрын
The way he breaks things down makes it understanable.
@monastyrskiiden
@monastyrskiiden 6 жыл бұрын
Man, keep on doing those videos, You're the best teacher I ever had, even considering my English is bad.
@yuudaemones2624
@yuudaemones2624 4 жыл бұрын
Native English speakers in my country (USA) misuse _you're_ and _your_ constantly but you used it correctly here, so I would say your English is at least decent.
@HellesMammuthBS
@HellesMammuthBS 4 жыл бұрын
After watching, i can say, you didnt promise too much in the beginning. Great video, thank you!
@ToniLiem
@ToniLiem Жыл бұрын
Wow by far you are the best teacher on youtube planet.
@rgmwy
@rgmwy 4 жыл бұрын
That was probably the best explanation of Javascript promises I've come across anywhere. Big Thanks to you!
@jrhager84
@jrhager84 4 жыл бұрын
Words cannot describe how much I love this man.
@threeone6012
@threeone6012 4 жыл бұрын
24:42 I legitimately laughed out loud when the train started. My family asked what was going on and came in to see. I replayed it and they laughed out loud. This channel is genius. Thanks for the awesome tutorials!
@cuchooo
@cuchooo 2 жыл бұрын
I just finished an assignment because of your explanation. Keep up the great and passionate work. Thank you for proving that coding lessons don't have to be a graveyard.
@thesickandwounded
@thesickandwounded 4 жыл бұрын
i've struggled with promises for almost a month and this actually made it click!
@worms618
@worms618 6 жыл бұрын
Great video again! Looking forward to the video about async and await!!
@CameronChardukian
@CameronChardukian 5 жыл бұрын
This video was excellent. Easily the best resource I've found thus far for understanding promises!
@callmeghostgamer
@callmeghostgamer 2 жыл бұрын
Went through multiple tutorials about ES6 on youtube but your style of explaining things were just awesome... Love and wishes from India 🇮🇳 Thanks ☺
@peterebode
@peterebode 4 жыл бұрын
Just Stumbled on your channel, and i don't want to let go at all.. Man you're good.
@janlivny6196
@janlivny6196 4 жыл бұрын
Man, i love this guy. I had to come here from Treehouse to understand what promises are all about, and this sure helped me out a lot.
@IlmoOtt
@IlmoOtt 5 жыл бұрын
imo the best source for learning new topics. Very clear explanations! Thanks man!
@gastondev4919
@gastondev4919 3 жыл бұрын
Finally a REAL explanation on promises, THANK YOU!
@danielamoreno4414
@danielamoreno4414 Жыл бұрын
I just came to your channel and can't stop watching all your videos. Such a great explanation! finally understood promises. Thanks
@Kapoor123Shahid
@Kapoor123Shahid 5 жыл бұрын
one of best tutor i ever come across. love the way of teaching, beginner level
@matthweneldon8694
@matthweneldon8694 3 жыл бұрын
I have watched many videos on this topic and finally it is clicking. I enjoy your energy and teaching style. Thank you!
@ridz4912
@ridz4912 3 жыл бұрын
"this is like part of uh.. ES427". This man is purely killing it !!
@briannapapparotto8815
@briannapapparotto8815 3 жыл бұрын
YOU, sir, are my saving grace. Thank you for these lessons!!
@celina6204
@celina6204 3 жыл бұрын
so helpful!! I love how you somehow always manage to answer the next question I'm thinking
@ChrisFotosMusic
@ChrisFotosMusic 4 жыл бұрын
6:10 ...this is why i keep coming back to your videos, man. it's the little things
@eruston
@eruston 5 жыл бұрын
One of the best coding channels I have found on internet!
@nithinkjoy2158
@nithinkjoy2158 4 жыл бұрын
Finally got one video which explained promise in real-world rather than using new Promise stuff
@scrapdev1219
@scrapdev1219 Жыл бұрын
Presentation is very human. keep me interested through out the whole video. Thank You for the knowledge.
@delivcemwangi7396
@delivcemwangi7396 2 жыл бұрын
I never really understood promises in javascript but after watching this video I have gotten to understand, thank you so much
@jurjenvanderhoek316
@jurjenvanderhoek316 4 жыл бұрын
Great explanation. I also love your humorous style. I always found JS promises hard to understand, but you have made me begin to grasp the basic idea. Thank you so much!
@weblearningd2294
@weblearningd2294 Жыл бұрын
I love your classes, regards from Budapest Hungary!
@nicolasculotta8976
@nicolasculotta8976 3 жыл бұрын
Finally I got how promises work, i'll keep learning, thanks man!
@laurajackson4539
@laurajackson4539 6 жыл бұрын
I want some of what he's taken this morning. But seriously, thank you for this video, it has been a massive help! Looking forward to the next video.
@stanlee8134
@stanlee8134 5 жыл бұрын
This is a really great tutorial about promise in JavaScript ES6. This concept is often difficult even for experienced developers to understand but you made this clear! I recommend you all to learn about promise in codecademy first (in Asynchronous JavaScript lesson) before watching this tutorial series about promise, because it really helps to understand better about the concept. Thanks theCodingTrain for making these awesome tutorials 😄 From Malaysia
@krisztianfeher5665
@krisztianfeher5665 5 жыл бұрын
Man I love this video. Please stay crazy!
@darkthrongrising5470
@darkthrongrising5470 5 жыл бұрын
Dude, your videos make me happy, thank you for this service to mankind.
@dalecooper3994
@dalecooper3994 6 жыл бұрын
Thanks man, I've been trying to make sense of this mess for some time now, and I think that now I'm much closer to that!
@JoeWong81
@JoeWong81 5 жыл бұрын
Thank you very much coding train. Love your down to earth teaching style and non stuck up attitude!!!
@tusharroy6182
@tusharroy6182 3 жыл бұрын
I literally smile while understanding these concepts. Love how you make things so simple. ❤
@enkh-uliraldechin7071
@enkh-uliraldechin7071 4 жыл бұрын
The explanation on “promise” in the entire space. 👍🏼
@AndreaNobili84
@AndreaNobili84 4 жыл бұрын
Best istructor here on KZfaq. He explained a very complex thing in a very simple way. He also seems that he smocked some weed before start recording the video...he is so funny =)
@HearterSG
@HearterSG 6 жыл бұрын
I finally understand promises. Thanks daniel!
@bennaylor3614
@bennaylor3614 Жыл бұрын
Best video on promises I have seen yet!
@chrisgannon5145
@chrisgannon5145 4 жыл бұрын
Thank you for this fantastic video! I hadn't been able to get my head around promises until now. Gold star sticker for you.
@singhanand1236
@singhanand1236 5 жыл бұрын
U can't let the viewer think anything else, which makes it easier to follow and understand stuff..elegant
@KunalPathak06
@KunalPathak06 4 жыл бұрын
The way you solved the errors and talked about them on runtime during video cleared a lot of doubt. Finally , understood "Promises" !!!
@shabbirhusain6634
@shabbirhusain6634 4 жыл бұрын
The way he delivered the content is speechless.
@PoCHobs
@PoCHobs 3 жыл бұрын
I like all your videos. I speaks spanish but taking a bootcamp in english. so your pronunciation helps a lot. Thanks for explaining well.
@surabhisugandh
@surabhisugandh Жыл бұрын
Your style of teaching is so intuitive and easy to understand! Thank you for taking the time to share your knowledge :)
@sonalkumar702
@sonalkumar702 4 жыл бұрын
You are very fun to watch and I understand the promise along the way. Thanks for making learning easy
@CreapFreek
@CreapFreek 3 жыл бұрын
Dude, you are an amazing teacher. Seriously.
@mridulhoneysharma
@mridulhoneysharma 3 жыл бұрын
No buddy can teach the way you do....You are just amazing keep the good work dude.... lots of love and respect
@YogaForAll-Vikash
@YogaForAll-Vikash 4 жыл бұрын
I have fallen in love with your explanation!
@celesteartley8473
@celesteartley8473 3 жыл бұрын
This is by far the best video I've ever seen explain promises I've watched quite a few because I've been programming in JavaScript for a few months now and oh my gosh does this video beat them all. This man needs a rainbow train stat sent to his house to deliver him the biggest teddy bear anyone of you could win at a fair!
@amyoulton7860
@amyoulton7860 3 жыл бұрын
Seriously thank you for making content! This has been such a confusing topic and it's so so easy to understand when you explain it.
@ksubyslowed
@ksubyslowed 5 жыл бұрын
15:07 is my exact reaction when i finally thought i made my way out with the data I needed
@MohamedHassan-yk5xn
@MohamedHassan-yk5xn 5 жыл бұрын
Oh man, you deserve 10M subscribers Thank you so much for the helpful information 😊❤️
@criemensnider
@criemensnider 4 жыл бұрын
Thank you SO MUCH! I've been struggling hardcore with understanding these and this made it very digestible!
@zer0826
@zer0826 5 жыл бұрын
Even a 2-year old will understand coding with such a good mentor! Hats off maestro! Keep up the good work. Bra-vo (Y)
@JS-ie7qn
@JS-ie7qn 5 жыл бұрын
I can't believe I understood this one.. the only video that gave me hope for promises. What a good teacher.
@Shadowhuntazz
@Shadowhuntazz 6 жыл бұрын
Yes ! A good video for finally a good explantion on promises, thanks !
@jkisazhm5612
@jkisazhm5612 2 жыл бұрын
Thanks, it helped a lot. It was not too long, I would even say I wanted to know more, with the way you explain. So far only person on youtube who really thinks about how to deliver the knowledge to someone who has no idea about all this. Subscribed!
@christopherkalolo1805
@christopherkalolo1805 2 жыл бұрын
You made my life easier understanding promises... Kudos!
@corynorell3686
@corynorell3686 5 жыл бұрын
Reviewing for potential upcoming interviews rather than learning, but still extremely valuable. Much obliged!
@stiliankushev3453
@stiliankushev3453 6 жыл бұрын
Thanks! keep going! Love your videos!
@jatinthakwani6224
@jatinthakwani6224 3 жыл бұрын
man,this dude teaches so well
@shaikhsanuar5339
@shaikhsanuar5339 Жыл бұрын
Best Teacher on KZfaq ❤️ Best wished for you Sir.
@chetranqui
@chetranqui 3 жыл бұрын
Clear, concise, and creative. Appreciate the solid 3C presentation. :-)
@kyungcheolkoh4517
@kyungcheolkoh4517 5 жыл бұрын
Clear explanations with lots of enthusiasm!
@centip3de930
@centip3de930 2 жыл бұрын
Tbh I didn't think how much I'd love watching your videos. My first video was JSON and APIs video and I thought that you're very wierd person. Because of that I couldn't watch any of your videos. Now I'm getting back every time I have a question and when I get your videos as a response to my questions I feel very good. Because of understanding how fun and how simple you'll explain everything you understand. Thanks for your videos! Wish you all the best :)
@TheCodingTrain
@TheCodingTrain 2 жыл бұрын
Love hearing this story!
@yannickvandiermen4448
@yannickvandiermen4448 6 жыл бұрын
you are the best teacher in the world!
@davidfromnorth7836
@davidfromnorth7836 4 жыл бұрын
Wow, it's the first time I see person so passionate about coding! It motivates me a lot!
@Elvykiung
@Elvykiung 4 жыл бұрын
the best explain ever! much easy to follow along
@nikolozmacharashvili1212
@nikolozmacharashvili1212 Жыл бұрын
your the man dude. explained harvard... now I don't need to go anymore
16.12: Promises Part 2 - Topics of JavaScript/ES6
11:50
The Coding Train
Рет қаралды 102 М.
Coding Challenge 180: Falling Sand
23:00
The Coding Train
Рет қаралды 757 М.
They RUINED Everything! 😢
00:31
Carter Sharer
Рет қаралды 25 МЛН
9.19: Prototypes in Javascript - p5.js Tutorial
19:24
The Coding Train
Рет қаралды 257 М.
Async + Await in JavaScript, talk from Wes Bos
15:52
freeCodeCamp.org
Рет қаралды 117 М.
16.14: async/await Part 2 - Topics of JavaScript/ES8
10:08
The Coding Train
Рет қаралды 89 М.
All The JavaScript You Need To Know For React
28:00
PedroTech
Рет қаралды 556 М.
Coding Challenge 179: Elementary Cellular Automata
21:41
The Coding Train
Рет қаралды 142 М.
16.3: ES6 Arrow Function - Topics of JavaScript/ES6
22:32
The Coding Train
Рет қаралды 271 М.
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 453 М.