This is a simple counter app created with Tailwind and React. It has two buttons: a + button to increment the counter and a reset button to reset the counter to 0. If the counter is already 0 and the reset button is clicked, an error message will be displayed.
Live Preview: https://count-reset-simple-reactapp.netlify.app/
- UseState Hook concept to change states.
- Tailwind
- React
- Simple counter app
- Uses Tailwind and React
- Displays an error message if the counter is already 0 when the reset is clicked
To use the app, click on the add (+) button to increment the counter. Click on the reset button to reset the counter to 0.