0

How do I make the snake grow?

How do I make the snake grow in the growSnake() function? https://code.sololearn.com/W18V0BQovPyR/?ref=app

7th Jan 2022, 1:01 AM
Logos
Logos - avatar
2 Respostas
+ 2
Cannot read properties of null! not what you're asking, but maybe you should put your JS code inside this... window.onload = () => { //Your code }
7th Jan 2022, 1:33 AM
CGM
CGM - avatar
+ 1
You can visit this website, where I deployed my snake game successfully https://sk-0911.github.io/Snake-Game/ Visit this repository for the above code, here I have provided proper documentation as well for the game https://github.com/SK-0911/Snake-Game Happy learning!! Share and like if you found this helpful
7th Sep 2023, 9:16 AM
Shubham Kumar
Shubham Kumar - avatar