Skip to content

Latest commit

ย 

History

History
59 lines (39 loc) ยท 1.15 KB

File metadata and controls

59 lines (39 loc) ยท 1.15 KB

๐Ÿงฎ React Calculator

A simple and responsive calculator built using React. This application performs basic arithmetic operations with a clean user interface and smooth user experience.


๐Ÿ“Œ Features

  • โž• Addition
  • โž– Subtraction
  • โœ–๏ธ Multiplication
  • โž— Division
  • ๐Ÿ”„ Clear / Reset functionality
  • ๐Ÿ“ฑ Responsive design
  • โš ๏ธ Basic error handling (e.g., divide by zero)

๐Ÿ› ๏ธ Tech Stack

  • React.js
  • JavaScript (ES6)
  • HTML5
  • CSS3

โš™๏ธ Installation & Setup

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

๐Ÿง  How It Works

  • 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.

๐Ÿ™Œ Acknowledgements

Built as a beginner-friendly project to practice React fundamentals and improve frontend development skills.