This is a simple calculator app built with React. It allows users to perform basic arithmetic operations such as addition, subtraction, multiplication, and division.
- User-friendly interface with a display screen to show the input and result.
- Buttons for numbers (0-9) and operators (+, -, *, /).
- Clear button to reset the calculator.
- Calculation history to keep track of previous calculations.
-
Clone the repository:
git clone https://github.com/your-username/react-calculator.git
-
Navigate to the project directory:
cd react-calculator
-
Install the dependencies:
npm install
-
Start the development server:
npm start
-
Open your browser and visit
http://localhost:3000
to see the app in action.
- Enter numbers and operators using the buttons provided.
- Press the "=" button to perform the calculation and see the result.
- Use the "C" button to clear the input and start a new calculation.
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.