diff --git a/html/index.html b/html/index.html index 070ac70..c2b0891 100644 --- a/html/index.html +++ b/html/index.html @@ -196,8 +196,7 @@

The Word Search Game

//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);