Let's trim the white space from the beginning and end of the input variable so an app only creates valid usernames.

Nice! Like most apps, we've used trim() to remove white space from a username in case a user accidentally types in spaces.

Oops-a-daisy! Let's try using trim() to trim the white space.