This is a calculator project built with React. It provides a user-friendly interface to perform basic mathematical operations. The calculator supports addition, subtraction, multiplication, and division, along with other useful features.
The project utilizes the following technologies:
- HTML
- CSS
- JavaScript
- React
- React-DOM
- React-Scripts
- React-Textfit
- Basic Arithmetic Operations: Perform addition, subtraction, multiplication, and division on numbers.
- Decimal Support: The calculator can handle decimal values for precise calculations.
- Percentage Calculation: Calculate percentages of a given number.
- Invert Values: Quickly invert the sign of the displayed number.
- Reset Functionality: Clear the current calculation and start a new one.
- Number Formatting: Format larger numbers for better readability.
- Dynamic Output Resizing: The output automatically adjusts its size based on the length of the displayed result.
To run the React Calculator project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/rohan-krishu/React-Calculator.git
-
Navigate to the project directory:
cd React-Calculator
-
Install the project dependencies:
npm install
-
Start the development server:
npm start
-
Open your browser and visit
http://localhost:3000
to access the calculator.
Contributions to the React Calculator project are welcome. If you would like to contribute, please follow these guidelines:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and test thoroughly.
- Submit a pull request explaining your changes.
Please ensure that your contributions adhere to the project's coding standards and maintain a professional and respectful tone.
Thank you for your interest in the React Calculator project.