Remove unnecessary comments
This commit is contained in:
parent
c34fc827e6
commit
b5ae51cbdd
1 changed files with 2 additions and 2 deletions
|
|
@ -11,8 +11,8 @@ const computer = document.querySelector("#computer");
|
|||
|
||||
buttons.forEach((button) => {
|
||||
button.addEventListener('click', () => {
|
||||
ps = button.id; // Assign the button's id to the external variable
|
||||
game(); // Start the game when the user makes a choice
|
||||
ps = button.id;
|
||||
game();
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue