Promises: continues executing without waiting for the previous promise to resolve. and Each .then() creates a new promise, chaining them together. async/await: The await keyword pauses the execution of the function until the Promise is resolved, making it behave more like synchronous code.
This really is not a good video. His voice is low and his keyboard is very loud, he doesn't articulate his words particularly clearly, the code examples are *all* quite bad, and a significant amount of time in this video is spent writing boilerplate code instead of talking about how the code works or concepts about the code. I don't want to watch him read the html code from another monitor for an elaborate pokedex design while just reciting the code for 40 minutes in a video about asynchronous Javascript. Literally 100% of the time spent making this pokedex should have been edited out or just not recorded - start with whatever visuals you want for this project and start talking about the Javascript.
18:18 It's not really clear what's happening in the console. It just shows messages while he is typing the code. Would be nice if he turned off code auto-execution.
Okay, this generally means that there was some sort of authorization error due to a missing endpoint at the api. Potentially due to the api being different or endpoint changing or something of that sorts i guess. PS: I haven’t watched this video at all and straight up jumped to comment to check some reviews!