Skip to content

rohanrathi99/React-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Calculator Project

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.

Tech Stack

The project utilizes the following technologies:

  • HTML
  • CSS
  • JavaScript
  • React
  • React-DOM
  • React-Scripts
  • React-Textfit

Features

  1. Basic Arithmetic Operations: Perform addition, subtraction, multiplication, and division on numbers.
  2. Decimal Support: The calculator can handle decimal values for precise calculations.
  3. Percentage Calculation: Calculate percentages of a given number.
  4. Invert Values: Quickly invert the sign of the displayed number.
  5. Reset Functionality: Clear the current calculation and start a new one.
  6. Number Formatting: Format larger numbers for better readability.
  7. Dynamic Output Resizing: The output automatically adjusts its size based on the length of the displayed result.

Installation

To run the React Calculator project locally, follow these steps:

  1. Clone the repository:

    git clone https://github.com/rohan-krishu/React-Calculator.git
    
  2. Navigate to the project directory:

    cd React-Calculator
    
  3. Install the project dependencies:

    npm install
    
  4. Start the development server:

    npm start
    
  5. Open your browser and visit http://localhost:3000 to access the calculator.

Contributions

Contributions to the React Calculator project are welcome. If you would like to contribute, please follow these guidelines:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and test thoroughly.
  4. 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.

About

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.

Topics

Resources

Stars

Watchers

Forks

Contributors