7th Mar 2019, 9:09 AM
Adnan Ansari
Adnan Ansari - avatar
4 Answers
+ 11
Change startGame() ; To onload = startGame;
7th Mar 2019, 9:13 AM
CalviŐ˛
CalviŐ˛ - avatar
+ 4
Put const cells = document.querySelectorAll('.cell'); Inside startGame function
7th Mar 2019, 12:21 PM
CalviŐ˛
CalviŐ˛ - avatar
+ 4
Copy this script on your PC. And try debugging it using Browser's Console. You can do it by doing "mouse second click" and "inspect element"
7th Mar 2019, 12:42 PM
jamilxt
jamilxt - avatar
+ 2
But after adding that ,it shows nothing, see my code
7th Mar 2019, 10:19 AM
Adnan Ansari
Adnan Ansari - avatar