When I first started programming, my first project idea was creating the game Snake in HTML5. I quickly found out that it was beyond my capabilities. I've since revisited the project, and it was quite easy to make now that I know how to program. I hope you like it, and can learn something from the code as a beginner. View the code on GitHub.
Use the arrow keys to play