check every character of a string as user types it and return feedback