Skip to content

Commit

Permalink
selection events
Browse files Browse the repository at this point in the history
  • Loading branch information
muktar1907 committed Apr 24, 2024
1 parent 59feb57 commit f912205
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,7 @@ <h1>The Word Search Game</h1>
//create cells and add it to the row
const cell = document.createElement("td");
cell.setAttribute("id",k.toString());
cell.setAttribute("onclick","buttonClick(k,1)");
cell.setAttribute("onmouseover","buttonClick(k,2)");


const cellText=document.createTextNode(`${k}`);
cell.appendChild(cellText);
Expand Down

0 comments on commit f912205

Please sign in to comment.