diff --git a/html/index.html b/html/index.html
index d949338..36560c2 100644
--- a/html/index.html
+++ b/html/index.html
@@ -196,7 +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.addEventListener("click",buttonEvent(k.toString(),0));
const cellText=document.createTextNode(`${k}`);
cell.appendChild(cellText);
@@ -210,20 +210,20 @@ The Word Search Game
document.body.appendChild(tbl);
tbl.setAttribute("border","1.5");
- var cells = document.querySelectorAll("td");
+
+ }
+ var cells = document.querySelectorAll("td");
for(var i=0;i