Back to course overview
JavaScript Essentials
Asynchronous JavaScript
Promises and async/await, fetching data from APIs, and handling errors and edge cases.
3 lessons · 2h 1m
- 43mCallbacks, promises, async/awaitReading
Understand why some work finishes later, and sequence it clearly with promises and async/await.
- 38mFetching data from an APIReading
Request JSON with fetch, check the response, and render the results to the page safely.
- 40mErrors and edge casesReading
Handle failures with try/catch, throw clear errors, and plan for empty, missing and invalid input.