Skip to content

Commit

Permalink
mousemove
Browse files Browse the repository at this point in the history
  • Loading branch information
muktar1907 committed Apr 24, 2024
1 parent 20c5e57 commit 102d78c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,10 @@ <h1>The Word Search Game</h1>
{
buttonEvent(this.getAttribute("id"),1);
});
cells[i].addEventListener("mousemove",function()
{
this.style.backgroundColor="white";
});
}
}
function buttonEvent(cell,action)
Expand Down

0 comments on commit 102d78c

Please sign in to comment.