Overview
Keep a number in state and update the displayed value when the user selects increment, decrement or reset.
let count = 0;
function increment() {
count += 1;
return count;
}
Practice
Create your own example and verify it with several inputs.
