Put in order · JavaScript and TypeScript course · Module 4: Asynchronous JavaScript

Callback Hell Stages

Arrange the stages of growing callback nesting (callback hell):

Items to put in order

  • Third level of nesting - pyramid shape
  • Code becomes unreadable and hard to debug
  • Nested callback inside the first one
  • First asynchronous call with a callback

You can check the correct answer by solving this task in the CodeWorlds game.