Syllabus

  1. 01PromisesWrite code that waits without freezing: understand asynchronous execution, setTimeout and the event loop, create promises, consume them with then, catch and finally, chain dependent steps, debug common promise mistakes, and run several at once with Promise.all.10 lessons
    1. 01Synchronous and Asynchronous Code
    2. 02Creating Promises
    3. 03Promises That Take Time
    4. 04Consuming Promises with then()
    5. 05The Event Loop and Timing
    6. 06Handling Failure: catch() and finally()
    7. 07Chaining Promises
    8. 08Running Promises Together
    9. 09Debugging Promise Code
    10. 10Promises quiz
  2. 02Async and AwaitWrite asynchronous code that reads like synchronous code: async functions, the await operator, sequential steps, error handling with try...catch, and running independent tasks together with Promise.all.8 lessons
    1. 01Async Functions
    2. 02The await Operator
    3. 03Dependent Steps
    4. 04Handling Errors with try...catch
    5. 05Independent Tasks
    6. 06await with Promise.all()
    7. 07Project: Café Order Queue
    8. 08Async and await quiz