Skip to content

BiBCast/calculator-react

Repository files navigation

Calculator App README

Overview

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.

Features

  • 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.

Getting Started

To run this calculator app locally, follow these steps:

  1. Clone this repository to your local machine.

    git clone https://github.com/BiBCast/calculator-react.git
  2. Navigate to the project directory.

    cd calculator-react
  3. Install the required dependencies.

    npm install
  4. Start the development server.

    npm run dev
  5. Open your web browser and go to http://localhost:5173 to use the calculator app.

How to Use

  • 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.

Technologies Used

  • React
  • CSS
  • Typescript

Feedback and Contributions

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.

License

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! 🧮

About

Calculator build with React

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published