Skip to content

react-calculator using mouse and keyboard events made with html, css, react, context-API

Notifications You must be signed in to change notification settings

khushbookachhi/React-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Calculator

Overview

This project is a simple calculator built using React. It includes basic arithmetic operations and a clean user interface. The project demonstrates the use of React hooks and context for state management.

Features

  • Basic arithmetic operations: addition, subtraction, multiplication, division and percentage
  • Clear (C) and All Clear (AC) functions
  • Positive/negative toggle (+/-)
  • Percentage calculation
  • Keyboard support for input and operations

Installation

To get started with this project

  1. Clone the repository:
git clone https://github.com/yourusername/react-calculator.git
cd react-calculator
  1. Install dependencies:
     npm install
  2. Start the development server:
 npm run dev
  1. navigate to http://localhost:5173 to see the application in action.

Releases

No releases published

Packages

No packages published