I'm trying to add a second event listener on my buttons so I can have say, mute/unmute functionality, with one button. This is week 2 stuff I know. But you wouldn't believe how much time I've wasted today looking through my classwork/homwork/instructor folders as well as all kinds of googling trying to figure out how to make my buttons have 2 functions attached to them (like mute/unmute). I'm currently using vanilla js but I will set up jquery and rewrite my code if that's the only way to do it. Any advise on this would be greatly appreciated.
I'm trying to add a second event listener on my buttons so I can have say, mute/unmute functionality, with one button. This is week 2 stuff I know. But you wouldn't believe how much time I've wasted today looking through my classwork/homwork/instructor folders as well as all kinds of googling trying to figure out how to make my buttons have 2 functions attached to them (like mute/unmute). I'm currently using vanilla js but I will set up jquery and rewrite my code if that's the only way to do it. Any advise on this would be greatly appreciated.