Counter

You can increase and decrease the count with the "+1" and "-1" buttons, respectively, or enter a number directly into the input.

Exercise

There is a bug when you enter a value into the input that is not a number.

Use the debugger to find out where the problem is occurring and why.