Get input length





JavaScript function that accepts an argument and returns the type

First Attempt: Using two input boxes for data input







Second Attempt: Using one input box for data input