Added logic to take values from the form and pass them to my function, then display the results. Added styling.