How this example works
A variable holds the current value. Both event handlers call render after changing it, and the output announces the new value.
Try a change
Add a Reset button that sets the value to zero. Disable decrement at zero or describe why negative values make sense for your use case.