How's this?
//grab the button 'hookSwitch'
var hookSwitch = document.querySelector('button.hookSwitch');
//create an event listener for a click event
hookStatus.addEventListener("onclick", function(){
//inside of the callback function for click event listener, add the on/off classes to the...