Week 6 · 9–12 hours
Async JavaScript & APIs
Connect JavaScript to the real world
Coordinate delayed work, call HTTP APIs, and build resilient loading and error states.
Daily study plan
All lessons
Sync vs async
25 min · Build a practical mental model for sync vs async and use it in working JavaScript.
Event loop
30 min · Build a practical mental model for event loop and use it in working JavaScript.
Promises
35 min · Build a practical mental model for promises and use it in working JavaScript.
async and await
25 min · Build a practical mental model for async and await and use it in working JavaScript.
Errors & try/catch
30 min · Build a practical mental model for errors & try/catch and use it in working JavaScript.
HTTP, JSON & REST
35 min · Build a practical mental model for http, json & rest and use it in working JavaScript.
Fetch & UI states
25 min · Build a practical mental model for fetch & ui states and use it in working JavaScript.
Concurrency with Promise.all
30 min · Build a practical mental model for concurrency with promise.all and use it in working JavaScript.