Week 3

Last week you learned about callbacks - functions that run later. You saw how nesting callbacks gets messy ("callback hell"). This week, you'll learn Promises and async/await - cleaner ways to handle asynchronous operations.

This week you'll work with a real API: the Tea Shop backend. You'll fetch data, handle errors, and chain operations - just like you would when building real backend services.

Contents

Learning Goals

By the end of this session, you will be able to:

After this session you will understand code like this

Last updated