Learn how to understand how fetch and promises work fully with Colin from The Coder Career https://thecodercareer.com to explain using one of our favourite meals.
0:00 - Request + Response
0:58 - Using fetch
1:47 - What is a Promise?
2:33 - Using a Promise from fetch
3:43 - Promise states
4:22 - Handling Promise fulfilled
5:49 - Handling the Response object
6:23 - Using .json()
8:03 - Finished code
Understand why these work the way they do in this comprehensive but short JavaScript lesson on fetch, promises, requests, responses.. all explained by using a burrito.
We, at @TheCoderCareer would love to know what you think of this kind of content. Are you a beginner learning fundamentals but need a deeper understanding? Is this a good way of learning. Please tell us.
#javascript #coding #software #learning
#learncoding #fetch #promises #asynchronous #webdevelopment