This is a simple calculator web application built using React. It allows users to perform basic arithmetic operations like addition, subtraction, multiplication, and division.
- Addition, subtraction, multiplication, and division operations.
- Decimal point support.
- Clear (AC) and delete (DEL) buttons.
- Evaluation of expressions.
Follow these instructions to get the project up and running on your local machine.
- Node.js and npm (Node Package Manager) should be installed on your machine. You can download and install them from https://nodejs.org/.
1. Clone the repository:
git clone [email protected]:gunash-portfolio/Calculator-react.git
2. Change to the project directory:
cd calculator-app
3.Install dependencies:
npm install
To start the development server, run the following command:
npm start
The application will be available at http://localhost:3000
in your web browser.
- Click on the digit buttons to input numbers.
- Click on the operation buttons (+, -, *, ÷) to select the desired operation.
- Use the decimal point button to input decimal numbers.
- AC button clears the input.
- DEL button deletes the last digit.
- Click the "=" button to evaluate the expression and see the result.
If you would like to contribute to this project, please follow these steps:
- Fork the repository on GitHub.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them to your branch.
- Push your changes to your fork.
- Submit a pull request to the original repository.
This project is licensed under the MIT License
- This project was created as a simple example of a React-based web - application.
- Special thanks to the React community and its contributors for building and maintaining the framework.