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

📝 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?