w or space or click or up arrow to jump over the spikes
Griffpatch inspired me to make it, and helped with his platformer tutorial, but I coded the rest.