This is a simple calculator app built using React. It allows users to perform basic arithmetic operations, view a history of their calculations, and clear the input. The app is designed with a user-friendly interface for easy calculations.
-
Basic Arithmetic Operations: You can perform addition, subtraction, multiplication, and division operations with ease.
-
Percentage Calculation: The app includes a percentage calculation feature, making it handy for various calculations.
-
History Tracking: The calculator keeps a record of your previous calculations, allowing you to review and reuse them.
-
Clear and Reset: You can clear the input field or reset the calculator entirely.
To run this calculator app locally, follow these steps:
-
Clone this repository to your local machine.
git clone https://github.com/BiBCast/calculator-react.git
-
Navigate to the project directory.
cd calculator-react -
Install the required dependencies.
npm install
-
Start the development server.
npm run dev
-
Open your web browser and go to http://localhost:5173 to use the calculator app.
-
Perform Calculations: Simply click the buttons on the keypad to enter numbers and operators. Click "=" to see the result.
-
Clear Input: Click the "AC" button to clear the input field.
-
Percentage: Use the "%" button to calculate percentages.
-
History: View your calculation history by clicking the history icon, and you can also recall previous calculations from there.
-
Back Arrow: Remove the last character from the input by clicking the back arrow icon.
-
Home Button: Reset the calculator to its initial state.
- React
- CSS
- Typescript
If you encounter any issues with the calculator app or have suggestions for improvements, please feel free to open an issue or submit a pull request on the GitHub repository. Your feedback and contributions are greatly appreciated.
This calculator app is open-source
Thank you for using our calculator app! We hope it helps streamline your calculations and make your tasks easier. If you have any questions or need assistance, please don't hesitate to reach out.
Happy calculating! 🧮