PHASE 07
⏳ Async, APIs & Errors
Real apps wait for things: timers, servers, users. Learn how JavaScript handles waiting without freezing, talk to real APIs, handle errors gracefully and organise code into modules. Finish by building a quiz app.
⏱️ ~4 hours of lessons
📚 6 lessons
✏️ 10 exercises Medium
▶ Start this phase
🎯 In this phase you will…
- Use timers and callbacks
- Write async code with promises and async/await
- Fetch and use JSON from an API
- Handle errors with try…catch
- Build a complete quiz app
📺 Lessons in this playlist
01
Timers & Callbacks
02
Promises & async/await
03
fetch & JSON: Talking to APIs
04
Errors & try…catch
05
Modules & What’s Next
06
Project: Quiz App
📝 Phase test
Concept questions, pseudocode writing, tracing and debugging — check you’re ready for the next phase.
🔮 What will this display?
What does this print?
1const p = Promise.resolve(3);2p.then((v) => console.log(v * 2));3console.log("first");
💡 Concept check
What is the right order for building an interactive app?