Tried to make snake  on screen

Tried to make a snake on the screen, however, for some reason, my background disappears instead.