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
2 Answers
+ 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
}
+ 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