Testing...But not Working

I’m trying to test this button out to see if the JS and HTML are hooking up, but it won’t work. Can I get some help?


<button id="rpsStarter">
            Click to lock your choice and start the battle!


rpsStarter.addEventListener("click", function () {

PS: No, I didn’t actually but “HTML:” and "JS: and the code right next to eachother like that

Where is your DOM object, rpsStarter?

1 Like