Press space, up key, or w to jump over spikes, don't run into spikes and walls. When you enter the portal, hold jump to fly. Again don't run into spikes or walls.
This is actually basically just @Steve Dash and @griffpatch 's work, and I made it look foggy to make it have a greater challenge, that you might not notice the spikes. Good luck! :)