Lesson 11 of 17 · JavaScript
Asynchronous JavaScript: callbacks, promises and async/await
Objective
Understand how JavaScript handles what takes time (loading data from a server, waiting for a timer, reading a file) without blocking the page, and write this code properly: first with callbacks, then with promises, and finally with async/await, the modern form you will use every day with fetch (lesson 3.2).
This lesson is part of the full course
Unlock Web Development: HTML, CSS and JavaScript to read every lesson, do the exercises, access the simulations and earn your certificate.
Already enrolled? Log in.