Make +3 Add Three
Write the code, see it run, pass the checks.
The problem
- medium
- Code
- Pro
This counter has a + button and a +3 button, but +3 only adds 1. Fix it so +3 adds exactly 3, and keep + adding 1.
Your code must pass
- It starts at 0
- Clicking + three times shows 3
- Clicking +3 once shows 3