In a number of previous projects, you have written functions to use as Event Listeners for "click" and "keypress" events. Today you will learn how to use an Object as an Event Listener by implementing the handleEvent method.
First, take a look at the MDN EventListener documentation for a small example.
Next, fork a copy of the repository at https://github.com/erics273/activity_object_handle_event
The code implemented so far will show 5 seedlings on the screen.
Follow the instructions in the TODO comment within the js file. They will direct you to implement a handleEvent method inside the ClickToAdvance object. If you complete this, you will be able to click on the seedlings to make them grow.
Here is an example of how the page should behave after you have completed the handleEvent method: