RockPaperScissors

This commit is contained in:
2024-10-24 13:05:05 +02:00
parent 818028a6b9
commit 0526b47ea4
6 changed files with 174 additions and 0 deletions

View File

@ -41,3 +41,5 @@ buttone = document.getElementById("buttontwo");
buttone.addEventListener("mouseover", event =>{
buttone.classList.toggle("texttwo"); //toggle will add if the class is not there and remove if it is there
});
//https://www.youtube.com/watch?v=lfmg-EJ8gm4&t=35022s