This is a good rendition of Snake! High score is a good feature (super curious how that works through page refresh), and the snake's turning feels reasonably natural and offers enough delay to make the game a little easier. I would consider doing something with the speed, or preventing apples from spawning on the snake, as often an apple will spawn on the second body piece and cannot be accessed until the whole snake has gone over it.