Changed button to input and changed styling code
adjusted spacing
added function back to check errors