Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator

A sleek and modern calculator web app built with React.

View DemoDescriptionFeaturesTechnologies UsedGetting StartedUsageContributing

Demo

You can view the live demo of the Calculator here.

Calculator Demo

Description

This web application is a modern and responsive calculator built with React. It provides a clean and intuitive user interface for performing basic arithmetic calculations.

Features

  • Responsive Design: Works seamlessly on both desktop and mobile devices.
  • Real-time Calculation: See the result as you type.
  • History: View a history of your calculations.
  • Memory Functions: Store and retrieve values from memory.

Technologies Used

  • React: Used to build the user interface and manage state.
  • useReducer: Employed for efficient state management.
  • Component Composition: Organizes UI components efficiently.
  • Event Handling: Manages user interactions for calculations.

Getting Started

To run this project locally or make changes, follow these steps:

  1. Clone this repository to your local machine:

    git clone https://github.com/akankha/Calculator.git

  2. Open the project folder in your code editor.

  3. Install the project dependencies:

    npm install

  4. Start the development server:

    npm start

  5. Open your web browser and visit http://localhost:3000 to use the calculator.

Usage

  • Basic Calculations: Enter numbers and perform calculations using the calculator buttons.
  • Memory Functions: Use memory buttons to store and retrieve values.
  • View History: Check your calculation history on the right sidebar.
  • Responsive Design: Works seamlessly on all screen sizes.

Feel free to modify the code or make improvements as needed.

Contributing

If you'd like to contribute to this project, please follow these guidelines:

  1. Fork the repository.

  2. Create a new branch for your feature or bug fix:

    git checkout -b feature-name

  3. Make your changes and commit them:

    git commit -m "Add your message here"

  4. Push to your fork:

    git push origin feature-name

  5. Create a pull request to the original repository.

About

Simple Calculator with react

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages