Want to see it in action? You can find it through the following url - https://snakebytyler.netlify.app/ , or if you want to fork it all you have to do is run live server on index.html.
Followed this video to get up to put of snake movement, apple setting, tail lengthening and game over characteristics - https://www.youtube.com/watch?v=7Azlj0f9vas
A simple game made just to get used to Javascript and understand basic concepts like functions and arrays. Had a lot of fun making it.