added buttons with event listeners to make changes to elements.