This web app functions just like a regular calculator where a user can perform arithmetic operations such as addition, subtraction, multiplication, and division with ease.
- Live Site URL: React Calculator
I learned about the react's state system especially the asynchronous nature of react's Hooks. I gained some experience with using useState and useReducer Hook for this project.
In future, I want to add additional functionalities such as exponentiation, square root, and the three trigonometric functions (cosine, sine, and tangent).
First clone this repo using git clone [this repo]
Next, run npm install
or yarn
or pnpm install
to install all the required node packages
You may delete the pnpm-lock.yaml file if you are using yarn or npm
Next, run npm run dev
or pnpm run dev
or yarn run dev
to create a local dev environment