Using events instead, added text area

Now using onclick event instead of a form. Added a text area to display
output.