Code input breakdown

I went to Starbucks the other day. On the receipt was a code to enter on their website, so I went there on my computer. As a front-end developer, I was impressed with the behavior of the form. Unless you do this for a living and/or hobby, you probably might not be.