Add event listeners for different events, and update data on the app corresponding to the events.  This is mainly a practice to see how these things work.