No video

JavaScript Callbacks, Promises, and Async / Await Explained

  Рет қаралды 40,957

LearnWebCode

LearnWebCode

Күн бұрын

Пікірлер: 86
@baranvabaharan
@baranvabaharan 3 жыл бұрын
Hello teacher. Hope you are doing well 😊 I am taking the JavaScript fullstack course and going through complex app. When waching the videos i pause it and do everything with you and also put comments of your explanations. Can you guide me get the most out of my learning? I don't know what to do after completing complex app. Do it again by myself? And also how to stay motivated? Thanks for taking the time to read🌷
@LearnWebCode
@LearnWebCode 3 жыл бұрын
I think a good next step after that course is to practice a front-end library like React or Vue. Another good step is to create a slightly different app than the simple social network app in the full-stack course. It can be similar, but make sure it has at least one different feature that you'll have to invent the application logic for. I think motivation is something that everyone always struggles with. Personally, coffee and music help, and also doing lots of my own little experiments (instead of huge entire applications) just to make sure I understand one isolated piece of technology before moving onto something else. Also a big motivation helper is to step back and get some perspective; what I mean is, I think as soon as we learn something new we make the mistake of thinking it's not special or useful or difficult any longer. Sometimes taking a moment to reflect on how much you've learned in the last year or two; contrasting what you knew back then with what you know now, can be a super positive exercise and motivate you to keep going.
@baranvabaharan
@baranvabaharan 3 жыл бұрын
@@LearnWebCode Thank you 😊🌻
@dimitristsortanidis290
@dimitristsortanidis290 2 жыл бұрын
The best tutorial on the topic that I have found so far.
@shaderone07
@shaderone07 3 жыл бұрын
You are absolutely one of the best coding instructors out there. Hope you reach millions!!!
@jonathanbell306
@jonathanbell306 Жыл бұрын
boggles the mind how with a complicated subject like this other teachers make it even more complicated than it need be, you however have done an excellent job here, fantastic thank you super helpful and straightforward
@Brad10
@Brad10 Жыл бұрын
I've watched a lot of other videos and couldn't quite understand the promises until this one. Thank you.
@Pochinator
@Pochinator 3 жыл бұрын
Amazing timing. Right while I'm in the middle of going through your React course. Really enjoying it! Your style of presentation is second to none sir.
@faheemsiddiqui2680
@faheemsiddiqui2680 3 жыл бұрын
In past, I had gone through many tutorials to understand promise. But all my doubt get cleared in this 39 minutes. Thanx a lot from those one, who are self learner👌👍❤
@utsikko
@utsikko 2 жыл бұрын
Took your great WordPress course already back in 2018 and later enrolled in the JS and React courses. The best lecturer in Udemy in my opinion. Keep up the good 👍!
@mysteriousmsn
@mysteriousmsn 2 жыл бұрын
Best video on a KZfaq I Found, Cristal and clear. Callback, promises, async await and promises with then or await.
@TetaroSeth
@TetaroSeth 3 жыл бұрын
Hey Brad! I've completed your "Git a Web Developer Job" course and am currently about halfway through your Wordpress Developer course (Just finished the search overlay section). If you were to make a PHP Udemy course in the style of your JavaScript one I would buy it immediately. Thanks for the great courses, I really connect with your teaching style.
@OMARKM
@OMARKM 2 жыл бұрын
I feel really lucky to have known your channel
@jirivitek9982
@jirivitek9982 3 жыл бұрын
Simply the best teacher on youtube. I have bought almost all courses and I am just very mad at myself for not doing it earlier.
@avinashsudhanshu
@avinashsudhanshu 3 жыл бұрын
It was actually everything. I watched dozens of videos, everyone had something and lacked something. This one was like summery of all of them.
@KnownTechnical
@KnownTechnical 3 жыл бұрын
Thanks Brad, I was away on vacations. so now I have watched your content. Great Video Again
@LiveMusicPlease
@LiveMusicPlease 2 жыл бұрын
Hey Brad, I could NEVER understand some of the js stuff until I found your full stack course on udemy, and until then, the JS world was just a huge mess to me. I seriously need to thank you for the knowledge you've been passing on, it can change lives and it has changed mine. Thanks! Ps. Your teaching style is awesome! wish there were more people like you out there
@monitizedCode
@monitizedCode Жыл бұрын
Watched a few videos on this… brilliant teacher
@rajeshwarisn1155
@rajeshwarisn1155 3 жыл бұрын
Thank you so much for this video I must say how lovely is that to have such a cute cat around, I am always curious and happy while watching your videos especially to have a glimpse of your cat 🐱 ❤
@prashanttanwar3261
@prashanttanwar3261 3 жыл бұрын
Was waiting since long to understand callbacks from you
@user-sh1ep9qx3z
@user-sh1ep9qx3z 2 жыл бұрын
thanks sir for your contribution for our free work network
@edwardsheehan7008
@edwardsheehan7008 6 ай бұрын
Very well put together, thank you very much
@ThuyNguyen-kh2en
@ThuyNguyen-kh2en 3 жыл бұрын
I am learning callbacks and promises in javascript and this video helps me a lot to understand them. Thankyou so much!
@krishnabala8403
@krishnabala8403 3 жыл бұрын
Great explanation with relevant historical context! Thank you.
@itsashley2690
@itsashley2690 3 жыл бұрын
Thanks Brad!! Very beginner-friendly!! Thank you again!🙏
@neelamchaubey28
@neelamchaubey28 2 жыл бұрын
A big thank you for such an intuitive and easiest video on promises and async/await ever! ❤️💯
@dhanyakumar8965
@dhanyakumar8965 3 жыл бұрын
Thank you so much, which is very helpful, Last Friday I faced the same question from an interview, waiting for observables video
@jipeejoce1353
@jipeejoce1353 3 жыл бұрын
Impressive ! Like the 'behind the scenes' explanations to understand it .all :))
@johnravi3887
@johnravi3887 2 жыл бұрын
Hi Brad, What an informational video! I really struggle with JavaScript, and your video will help me a lot. Thanks a lot for sharing this amazing video. I will be checking out the Codepen you shred in the description. I think I will be signing up for your courses as well. I have been trying to learn Javascript, and I really hope you can teach me all the important things, and how to use Javascript optimally. Thanks a lot for creating this amazing video. I learned a lot from this.
@alejandroalcaide854
@alejandroalcaide854 2 жыл бұрын
This is golden, dude. I feel so much gratitude :D
@Geek888Video
@Geek888Video 2 жыл бұрын
Great video, learning the concept of promises and the async and await. It is really helpfully.
@ameur1614
@ameur1614 2 жыл бұрын
bro i cant handle how cute the cat is
@baranvabaharan
@baranvabaharan 3 жыл бұрын
Teacher your cat is really cute 🥰 Thanks for this video. Although English is not my native language I can understand you completely 😊
@orebelo
@orebelo 2 жыл бұрын
Amazing video!! Congrats!
@suong534
@suong534 3 жыл бұрын
Thank you for the great lesson 😊
@mohamedawde9508
@mohamedawde9508 3 жыл бұрын
I missed you Brad!
@BillBrutzman
@BillBrutzman 2 жыл бұрын
Super Tutorial => Thanks very much.
@nitinkaushik5144
@nitinkaushik5144 3 жыл бұрын
Hey Brad, You are the best teacher. Eagerly waiting for your Vue.js course.
@DaveCollison
@DaveCollison 3 жыл бұрын
Very handy and very instructional. Thanks, Brad.
@danielyang2221
@danielyang2221 3 жыл бұрын
perfect explanation. very impressive. thank you.
@Pareshbpatel
@Pareshbpatel 3 жыл бұрын
Great tutorial on Async JavaScript. Thanks. {2021-08-25}
@firstignitor
@firstignitor 2 жыл бұрын
thanks for the good work
@CodingJourney
@CodingJourney 3 жыл бұрын
Absolutely superb!! 🙂💙💙
@techkoda
@techkoda 3 жыл бұрын
Here for the algorithm(I'm a python, PHP/Laravel dev). Thanks Brad, this channel is so underrated.
@developerrijan7880
@developerrijan7880 2 жыл бұрын
It's a master piece Luckily got it... Thanks a lot
@fezanbhatti1292
@fezanbhatti1292 2 жыл бұрын
I purchased your 3 courses on Udemy and now started taking the JavaScript full-stack" course. I have done lots of practice during my professional career but most of the time without understanding (Copy and Paste) or quick fix, but now understanding concepts to write reliable, better, and industry-standard code. Thanks and appreciate your efforts. Keep doing, God bless you and my great America.
@alexroy4235
@alexroy4235 3 жыл бұрын
Hi Brad, thanks for priceless tutorials. Can You please give your thoughts on Deno. Is is gonna replace nodejs soon???
@LearnWebCode
@LearnWebCode 3 жыл бұрын
Deno is great, but I think most articles and videos covering it last year were opportunistic clickbait. As amazing as Deno is it's hard to even begin to describe how popular and established Node is. Even if Deno's future is incredibly bright I don't think it will "replace" Node anytime soon at all.
@rangabharath4253
@rangabharath4253 3 жыл бұрын
Awesome as always 👍😀
@shubhurana4616
@shubhurana4616 2 жыл бұрын
Thnku very much
@cryptoshow1318
@cryptoshow1318 2 жыл бұрын
Thankyou
@dmbrv
@dmbrv 3 жыл бұрын
Amazing :)
@ranaashraf5209
@ranaashraf5209 2 жыл бұрын
Came for the cat
@areyoukidding6274
@areyoukidding6274 3 жыл бұрын
Hi brad, everything was going good for me till 34:27 . i am little confused. Need ur help. function delay(){ const random = Math.random()*1000 setTimeout(()=>{ },random) } this is enough to make the delay, right? async function getcats(){ await delay() retun ["m", "p"] } => this piece of code return promise. why did u add this to delay function ? return new promise (()=>{ setTimeout(()=>resolve(),random) }); } i am confused when you explicitly written the word promise... Really2 need to your assistance 🙏🙏
@LearnWebCode
@LearnWebCode 3 жыл бұрын
Hi 🙂, I created the delay function that returns a promise because JavaScript's built-in "setTimeout" doesn't return a promise, and I wanted to be able to use the await syntax within our getCats function. When you create a new promise you need to capitalize the P, as in "new Promise()".
@areyoukidding6274
@areyoukidding6274 3 жыл бұрын
@@LearnWebCode thanx brad ❤️
@gopuprakash160
@gopuprakash160 9 ай бұрын
Hello Brad, I am coming from a ulti threaded world and the single threaded world Node.js is confusing me. How would Promise.all() work if Node js is single threaded?
@santhoshkumarmittapally5866
@santhoshkumarmittapally5866 3 жыл бұрын
Great video. Will there be a chance where you can demo this in a unit test framework like jest which does not handle this promises well Or does not wait enough to complete the test. Jest uses fakeTimers which is even pretty confusing to understand along with jest advanceTimersByTime. This video is very helpful.
@igorr4682
@igorr4682 3 жыл бұрын
Good stuff! Any chance you can do angular videos??
@hussainali186
@hussainali186 2 жыл бұрын
we want redux from brad :)
@chandansayed8745
@chandansayed8745 3 жыл бұрын
Dear favorite tutor why don’t you build a mern todo app. Please
@wwgg1139
@wwgg1139 2 жыл бұрын
at 23:00 if line 9 were to return allAnimals and line 10 was "}).then(superSecretOrder)" could you then have a pure function in superSecretOrder? i.e. one that can be tested independently of Promises?
@unpluggedaman
@unpluggedaman 3 жыл бұрын
Thanks a lot
@tea42
@tea42 Жыл бұрын
Hey quick question. What mic do you use? Looks good!
@LearnWebCode
@LearnWebCode Жыл бұрын
Thank you! This is the Shure SM7B.
@domd5841
@domd5841 3 жыл бұрын
what mic are you using?
@sharad3877
@sharad3877 2 жыл бұрын
I just wonder do you even know how good are you at teaching code...I think this can become a great youtube channel if you just upload videos regularly
@subarnapokharel2218
@subarnapokharel2218 3 жыл бұрын
Can I be able to do freelancing in web development if I follow brad schiff's all udemy and KZfaq courses or should i have to follow other peoples courses too?
@tamis5908
@tamis5908 3 жыл бұрын
Brad is absolutely GREAT, but as a former university prof on a journey to full-stack webdev, I follow about 5 additional main instructors, covering a variety of topics. Each instructor tends to have an area they focus on, so find someone whose style you like who receives great udemy ratings, and then take their topic-specific bootcamp courses--whether thru udemy, freecodecamp "10 hrs of free whatever", treehouse, youtube channel crash courses, etc. Having overlap of content is good too--if you don't understand the way one person is teaching the concept, check out one of the others. Also, multiple sources helps give you a variety of projects to learn with and modify/expand on for your own portfolio--also sparks creative ideas for your own unique projects. My personal favorite instructors besides Brad Schiff are Jonas Schmedtmann, Maximillian Schwarzmueller, Andrei Neagoie, Andrew Mead, Stephen Grider. All are primarily back-end instructors, but for front-end, Jonas does a fantastic job. Other people recommend Angela Yu--she's good at both front and back-end. Colt Steele is also a favorite of many, though personally I find the pace he presents topics at a bit too slow for my preference--but he does provide HUGE amounts of practice for you. Do your research--there's lots of free and inexpensive resources out there. Oh yeah--another name that keeps popping up is Brad Traversy--backend. The other thing I would suggest is be sure you get exposure to a couple different MERN stack courses and also Data Structures & Algorithms(DSA). Ran into a couple great udemy courses on DSA--one by Scott Barrett which uses animated vids to help show DSA concepts, and another by Rob Merrill that provides pseudo-code hints to help you learn to use/write Javascript algorithms. Hope this helps! Good luck.
@Bevallalom
@Bevallalom 3 жыл бұрын
I saw a cat -> I clicked... 😀
@AyushPanditofficial
@AyushPanditofficial 3 жыл бұрын
React with wordpress api lecture using graph ql
@onelook1870
@onelook1870 3 жыл бұрын
Please enable course download in your udemy wordpress course! I have limited internet......
@mostafaabobakr
@mostafaabobakr 3 жыл бұрын
Like for the KITTY 💖
@Muruwen
@Muruwen Жыл бұрын
i just clicked for the cat
@shahriarparvezshuvo4760
@shahriarparvezshuvo4760 3 жыл бұрын
Oh man.. She is soooooooo cute. I came here to see her. 💖
@christinamariehicks1078
@christinamariehicks1078 Жыл бұрын
dougys apt showtime auto..apt.3..
@jamesross5120
@jamesross5120 Жыл бұрын
how do you remember all this sh!t ? its hard enough working out how everything works
@christinamariehicks1078
@christinamariehicks1078 Жыл бұрын
carolyn smith ..becca ...
@nfm428
@nfm428 3 жыл бұрын
Dislikes coming from folks who don't work in IT.
@victory_lucky
@victory_lucky 3 жыл бұрын
thanks for this, BTW i have been trying to reach out to you recently, i have an offer i thought you did be interested in.
@Pareshbpatel
@Pareshbpatel 2 жыл бұрын
{2021-12-26}, {2022-01-24}, {2023-03-18}
@christinamariehicks1078
@christinamariehicks1078 Жыл бұрын
no animals ..at all..apt 3..cat..
@MilanDrazic
@MilanDrazic 3 жыл бұрын
The sky is blue. this is bad. 😂
@11valdano
@11valdano Жыл бұрын
9:20 cat in the background :)
Learn Express.js In 48 Minutes: Web Server Tutorial
47:39
LearnWebCode
Рет қаралды 57 М.
JavaScript Promises  -- Tutorial for Beginners
37:05
ColorCode
Рет қаралды 119 М.
UNO!
00:18
БРУНО
Рет қаралды 5 МЛН
❌Разве такое возможно? #story
01:00
Кэри Найс
Рет қаралды 3,3 МЛН
SPILLED CHOCKY MILK PRANK ON BROTHER 😂 #shorts
00:12
Savage Vlogs
Рет қаралды 49 МЛН
Dogs, JavaScript & An API 🐶 Fetch, Promises & Async Await
1:09:16
LearnWebCode
Рет қаралды 96 М.
Просто o async, await. Без циклов и таймеров. JavaScript
15:55
WebDev с нуля. Канал Алекса Лущенко
Рет қаралды 98 М.
Don't Imitate, Understand #2 - Promises, Async, and Await
42:44
Tony Alicea
Рет қаралды 68 М.
Async JavaScript - Callbacks, Promises, Async/Await
25:10
codeSTACKr
Рет қаралды 63 М.
Promises | Ep 02  Season 02 - Namaste JavaScript
39:06
Akshay Saini
Рет қаралды 476 М.
Callbacks, Promises, Async Await | JavaScript Fetch API Explained
1:05:05
UNO!
00:18
БРУНО
Рет қаралды 5 МЛН