Let's go through a series of exercises to get more practice with Promises in Javascript. We look at how to resolve and reject Promises, as well as how to chain promises together in a Promise chain. We also look at how we can resolve multiple promises together using Promise.all in the bonus section.
We will see Promises show up in almost everything we do when we get to front-end and back-end web development, but it appears everywhere else as well.
This video deals with "vanilla" Promises. In a future video we'll get to async/await syntax that simplifies how we can use these promise chains.
This is part of a series where we go over Javascript in depth to learn programming concepts as well as web development: • Javascript In Depth
Chapters:
00:00 Introduction
00:33 Warmup Exercise
07:31 Exercise 1
14:32 Exercise 2
22:09 Exercise 3
36:16 BONUS Exercise
40:12 Looking up Documentation
43:38 Finishing up
47:58 Next Steps
📦 Github Repository with the notes and exercise code+solutions: https://github.com/Nooder/javascript-...
💬 Come join us on Discord to chat with a like-minded community about tech and learning: / discord
🏅Support the channel and content through Super Thanks, Channel Memberships, or on Patreon: / techwithnader