Async: callbacks & promises

Objectives

  • Master: promises
  • Master: then/catch
  • Master: event loop

Lesson

This lesson is part of the year-long Code Academy Alfred path. Goal: understand promises, then/catch, event loop in real web / mobile-web design conditions.

Practice immediately: rebuild the example, then change it. Memory comes from active repetition, not passive reading.

If you get stuck, use Cursor with a precise prompt (context + goal + constraints), then explain the generated diff yourself.

Assessment

Assessment

1. What is the main topic of “Async: callbacks & promises”?