added buttons and event listeners to my dom query file