Async code, promises and await
Understand code that finishes later: timers, promises, async functions and await, the order things really run in, and waiting for several things at once.
- The skill
- Write code that waits for slow work with promises and await.
- You make
- A countdown with pauses and a loader that fetches players side by side.
Premium lesson
£7.99 a month or £59 a year. Cancel any time.
Builds on 26 JSON: data as text. Free to try: Web Foundations and the playground.
Passed
You can now
Step 1 of 8
exercise_1.js
You've reached the good stuff.
4 exercises in this lesson, checked as you type. Premium opens every lesson after Foundations, in all four courses.
JavaScript