Skip to content

Dishitha0607/Calculator_ReactProject1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors