+ 3
Fix that error
4 ответов
+ 11
Change
startGame() ;
To
onload = startGame;
+ 4
Put
const cells = document.querySelectorAll('.cell');
Inside startGame function
+ 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"
+ 2
But after adding that ,it shows nothing, see my code