Jesta interview question

Make button go on and off in a react application