I've always noticed little things like this in life and wondered how it's happening behind the scenes.
Now that I have doughnuts on my mind, let's stick with this vending machine idea and simplify it to an HTML form for this example.
[
add
]
[
|
|
...
]