A simple calculator application built with React.
This calculator app allows users to perform basic arithmetic calculations such as addition, subtraction, multiplication, and division. It provides a user-friendly interface where users can input their calculations and view the results instantly.
- Addition, subtraction, multiplication, and division operations
- Error handling for invalid calculations
- Delete last entered digit or operator
- Support for decimal numbers
- Clear button to reset the calculation
To run this application locally, follow these steps:
- Clone the repository:
git clone https://github.com/your-username/calculator-app.git
- Navigate to the project directory:
cd calculator-app
- Install the dependencies:
npm install
- Start the development server:
npm start
- Open your browser and visit:
http://localhost:3000
- Enter your calculation in the display area.
- Use the digit buttons to enter numbers.
- Use the operator buttons to perform operations.
- Press the "=" button to calculate the result.
- Press the "DEL" button to delete the last entered digit or operator.
- Press the "C" button to clear the calculation.
- React
- JavaScript
- HTML
- CSS
This project is licensed under the MIT License.