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.
- 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
To get started with this project
- Clone the repository:
git clone https://github.com/yourusername/react-calculator.git
cd react-calculator
- Install dependencies:
npm install
- Start the development server:
npm run dev
- navigate to http://localhost:5173 to see the application in action.