A simple and interactive calculator built with React that supports basic arithmetic operations.
- Perform addition, subtraction, multiplication, and division
- Clear (C) button to reset the display
- Responsive UI with well-styled buttons and display
- Built using React and CSS Modules for modular styling
- React.js
- CSS Modules for styling
- Bootstrap (optional for enhanced UI design)
Calculator/
│── src/
│ ├── components/
│ │ ├── AppName.jsx
│ │ ├── Display.jsx
│ │ ├── ButtonsContainer.jsx
│ ├── assets/
│ ├── App.jsx
│ ├── main.jsx
│ ├── App.css
│ ├── index.css
│── public/
│── package.json
│── README.md
- Clone the repository:
git clone https://github.com/Kailramiya/Calculator.git
- Navigate into the project folder:
cd Calculator - Install dependencies:
npm install
- Start the development server:
npm run dev
- Click the number and operator buttons to input calculations.
- Press
=to compute the result. - Use
Cto clear the display and start a new calculation.
Feel free to contribute and enhance this project! 😊
Aman Kumar
[email protected]