-
Notifications
You must be signed in to change notification settings - Fork 323
issue in rock paper scissors game. #22
Description
when i was making this project on my system then one issue occurred which was in JavaScript.
"choices.forEach((choice) => {
choice.addEventListener("click", () => {
const userChoice = choice.getAttribute("id");
playGame(userChoice);
});
});"
in this part of code browser was not showing id name it was returning null value.
i have checked my html and JavaScript code but the naming was proper everything else worked fine just this one issue that the id names are not showing just the null value is returning   