A modern and responsive calculator application built using React and Vite. This project performs basic arithmetic operations with a clean user interface and demonstrates the use of React components, state management, and modular CSS.
- Perform basic arithmetic operations
- Addition (+)
- Subtraction (-)
- Multiplication (*)
- Division (/)
- Clear display functionality
- Real-time input and calculation
- Responsive and user-friendly interface
- Built using reusable React components
- Styled with CSS Modules
- React
- Vite
- JavaScript (ES6+)
- CSS Modules
calculator-app/
│
├── public/
├── src/
│ ├── components/
│ │ ├── ButtonsContainer.jsx
│ │ ├── ButtonsContainer.module.css
│ │ ├── Display.jsx
│ │ └── Display.module.css
│ │
│ ├── App.jsx
│ ├── App.module.css
│ └── main.jsx
│
├── package.json
├── vite.config.js
└── README.md
git clone https://github.com/DevyaniVizekar/react-calculator.gitcd react-calculatornpm installnpm run devThe application will be available at:
http://localhost:5173
This project helped strengthen my understanding of:
- React Functional Components
- React Hooks (
useState) - Event Handling
- Component-Based Architecture
- State Management
- CSS Modules
- Vite Development Workflow
- Percentage (%) functionality
- Decimal calculations
- Keyboard support
- Calculation history
- Dark/Light mode
- Scientific calculator functions
- Improved error handling
Devyani Vizekar
Frontend Developer passionate about building clean, responsive, and user-friendly web applications using React and modern JavaScript.
GitHub: https://github.com/DevyaniVizekar
This project is open source and available under the MIT License.