Week 10 - Asynchronous programming

Synchronous vs Asynchronous Code

Callbacks

Promises

Asynchronous File I/O

Event Loop

Fetch API

Async/Await and Promise.all()

AI Using GitHub Copilot in VS Code

Practice

Assignment

Back to core program

Week 10 Overview

This week, you’ll step beyond simple top-to-bottom programs and learn how JavaScript deals with work that cannot finish immediately. Real applications need to talk to servers, read and write files, wait for timers, and react to user input, all without freezing the interface. Asynchronous programming is the set of tools and ideas that makes this possible, and it is a core skill for any JavaScript developer.

Instead of focusing only on syntax, this module is about building a strong mental model. You’ll see how JavaScript schedules work over time, how seemingly “out of order” logs still follow clear rules, and how different approaches to asynchronous code affect the structure and readability of your programs. By the end of the week, you should feel more confident understanding and debugging asynchronous behaviour in real projects, and ready to apply these ideas in the rest of the Core program and beyond.

Learning goals


CC BY-NC-SA 4.0 Icons

*https://hackyourfuture.net/*

Found a mistake or have a suggestion? Let us know in the feedback form.