#How to properly make the reset button to function in JS?
4 messages · Page 1 of 1 (latest)
I posted the Scrim Link ✅
In your newGame() function do you don't need to register call reset() on the reset button... in fact there is no reset method on a button so this won't work... What you need to do instead is set the state of your game back to a starting condition (home score, guest score both to 0 should do it...
Bill is correct, setting the inner text of your home & guest score back to zero should do the trick 🌱