Put in order · JavaScript and TypeScript course · Module 8: Events and the DOM

Event Bus Methods

Arrange the Event Bus method call for listening to the 'alert' event:

Items to put in order

  • eventBus
  • , callback)
  • 'alert'
  • .on(

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