Skip to content

gunash-portfolio/Calculator-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator App

Screenshot

This is a simple calculator web application built using React. It allows users to perform basic arithmetic operations like addition, subtraction, multiplication, and division.

Features

  • Addition, subtraction, multiplication, and division operations.
  • Decimal point support.
  • Clear (AC) and delete (DEL) buttons.
  • Evaluation of expressions.

Getting Started

Follow these instructions to get the project up and running on your local machine.

Prerequisites

  • Node.js and npm (Node Package Manager) should be installed on your machine. You can download and install them from https://nodejs.org/.

Installation

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

Usage

To start the development server, run the following command:
        npm start

The application will be available at http://localhost:3000 in your web browser.

How to Use

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

Contributing

If you would like to contribute to this project, please follow these steps:

  1. Fork the repository on GitHub.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and commit them to your branch.
  4. Push your changes to your fork.
  5. Submit a pull request to the original repository.

License

This project is licensed under the MIT License License: MIT

Acknowledgments

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published