Will my alarm still go off if my phone is on airplane mode?
Yes. Airplane mode (flight mode) only disables your phone's signal transmitting functions, not the functions that don't require a signal to function. 

Your alarm will still work.