easyReact
Build Countdown Timer using useEffect
Create a countdown timer that decreases every second using useEffect and useState. It should stop at zero and clean up properly.
Ensure function signatures match starter code to run test cases.
index.js
Loading...
Test Case #1
Input: 10
Expected: Countdown reaches 0