When the button is clicked, two requests are triggered, one by each of two EventListeners on the button registered via addEventListener.