Skip to content

Gunjan-Rajput/Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Calculator App

This is a simple calculator app built with React. It allows users to perform basic arithmetic operations such as addition, subtraction, multiplication, and division.

Features

  • User-friendly interface with a display screen to show the input and result.
  • Buttons for numbers (0-9) and operators (+, -, *, /).
  • Clear button to reset the calculator.
  • Calculation history to keep track of previous calculations.

Installation

  1. Clone the repository:

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

    cd react-calculator
  3. Install the dependencies:

    npm install
  4. Start the development server:

    npm start
  5. Open your browser and visit http://localhost:3000 to see the app in action.

Usage

  1. Enter numbers and operators using the buttons provided.
  2. Press the "=" button to perform the calculation and see the result.
  3. Use the "C" button to clear the input and start a new calculation.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

About

Simple Calculator implemented with React.js

Topics

Resources

Stars

Watchers

Forks