You need Login/Signup to run/submit the code.
Build a Counter App | Frontend Coding Challenge
In this question, the candidate needs to build a simple counter.
- Counter value should be visible on the screen. The default value of the counter should be 0.
- There should be an increment button that increases the counter value by 1 when clicked.
- There should be a decrement button that decreases the counter value by 1 when clicked.
- There should be a reset button that sets the value back to 0.
- Minimum value of the counter should be 0.
- Increment CTA colors:
- Reset CTA colors:
- Decrement CTA colors:
Start the timer, complete your solution, test your solution against the test cases provided by the platform, and submit it. Ideally, you should finish this question within 30 mins.