What did JFK do while in office?

He prevented Russian missiles from being sent to Cuba, worked to advance the civil rights of blacks, established the Peace Corp, dealt with the Berlin crisis and pushed the space program forward.