Chris
Chris
KPCKevin Powell - Community
Created by Matt on 10/23/2023 in #front-end
Rock, Paper, Scissors (Partial Solution)
27 replies
KPCKevin Powell - Community
Created by Matt on 10/23/2023 in #front-end
Rock, Paper, Scissors (Partial Solution)
The options should be the 3rd parameter of addEventListener so it would look something like this:
resetGame.addEventListsener("click", () => {...}, { once: true })
resetGame.addEventListsener("click", () => {...}, { once: true })
27 replies