Added styling, updated logic to account for edge cases, updated html input for numbers