Use arrow keys to move the bird to the red. Try to avoid the pink lines to stop you from having to restart.
I took a bit of inspiration from my ICT lessons but I experimented with my own code as well.