A simple and responsive calculator built using React. This application performs basic arithmetic operations with a clean user interface and smooth user experience.
- ➕ Addition
- ➖ Subtraction
- ✖️ Multiplication
- ➗ Division
- 🔄 Clear / Reset functionality
- 📱 Responsive design
⚠️ Basic error handling (e.g., divide by zero)
- React.js
- JavaScript (ES6)
- HTML5
- CSS3
Follow these steps to run the project locally:
# Clone the repository
git clone https://github.com/your-username/react-calculator.git
# Navigate to the project folder
cd react-calculator
# Install dependencies
npm install
# Start the development server
npm start- The calculator uses React state to store user input and results.
- Button clicks update the state dynamically.
- Expressions are evaluated using JavaScript logic.
- The UI updates instantly based on user interactions.
Built as a beginner-friendly project to practice React fundamentals and improve frontend development skills.