I’m supposed to have two buttons in each row of a table that either lowers or raises the amount of votes by one and I’m having trouble figuring out how to proceed.
I’ve tried to use onclick and addEventListener but everything I try doesn’t change the element at all.screenshot of code
New contributor
Ein Cagle is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.