Added attributes: id, for, and onclick

Added an attribute to the form tag linking it to the button via the for
attribute within the button tag. I also added the onclick event
listener to the button to trigger the calcFields() function.