Counter

Implement a simple counter.

Requirements:

  • Clicking on the increase button should increase the counter by 1.
  • Clicking on the decrease button should decrease the counter by 1.
  • Clicking on the reset button should reset the counter to 0.

You are free to add classes, styles, ids, but don't edit or remove data-test attributes.
Note: due to a small limitation, please import data from reduxjs/toolkit, not from @reduxjs/toolkit.
Create an account to start coding
Create account