Calculator App with React
The Calculator App with React is a simple calculator application built using the React library. This app provides basic arithmetic operations such as addition, subtraction, multiplication and division, as well as clearing and displaying the result of the calculation. It has a clean and simple UI, making it user-friendly and easy to use.
Installation
To use the Calculator App with React, follow these steps:
Clone the repository using the command
git clone https://github.com/OviSarkar62/Calculator_App_with_React.git
Change the directory to the project’s root directory using the command
cd Calculator_App_with_React
Install the dependencies by running the command
npm install
To run the app, use the command
npm start
The app should now be running at http://localhost:3000.
Usage
The Calculator App provides a simple interface for basic arithmetic calculations. Users can perform the following operations:
- Addition (+)
- Subtraction (-)
- Multiplication (*)
- Division (/)
- Clear (Clear)
- Backspace (C)
- Display the result (=)
To use the calculator, follow these steps:
- Enter the first number using the number keys on the keypad.
- Select the desired operation using the corresponding operation key on the keypad.
- Enter the second number using the number keys on the keypad.
- Press the equal key (=) to display the result.
- Press the clear key (Clear) to clear the input and result.
Conclusion
The Calculator App with React is a simple yet powerful application built using the React library. Its simple UI makes it easy for users to perform basic arithmetic operations. You can modify the app to include more advanced operations or additional features to suit your needs.