Build a basic Counter application that has default max count limit which can be modified.
Deployment Link : https://651cee7945250a7f447d5d2e--effervescent-sunflower-dbed51.netlify.app/
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
- The plus icon promotes counter to the next value and if it reaches the max limit it will not work and a warning will be shown on right-hand corner of the application
with a reset button to reset to zero. - The minus icon decreases the value to zero and will not work is already reached zero.
- The above top right corner refresh icon resets the counter app to count again from zero.
- Left hand corner take input to modify the max limit which is 10 by default but can be modified any time.