what did john f Kennedy do as president?

I think one of the best things that Kennedy did as president was to inspire hope and responsibility. His statement, "Ask not what your country can do for you, but what you can do for your country," is one of the most patriotic speeches in history.

Check this article for more information.

http://www.whitehouse.gov/history/presidents/jk35.html