This repository contains a simple yet functional calculator built using React. The app is designed to perform the four basic arithmetic operations: addition, subtraction, multiplication, and division.
- Responsive Design: The calculator UI is designed to work well on both desktop and mobile devices.
- Basic Operations: Supports addition, subtraction, multiplication, and division.
- Interactive Buttons: Includes a clean interface with interactive buttons that update the display with the correct results.
- React Components: The app is structured using React components for better code organization and reusability.
-
Clone the Repository:
https://github.com/pratheekv39/Calculator-App-ReactJs.git
-
Install Dependencies: Navigate to the project directory and install the necessary dependencies:
npm install
-
Run the App: Start the development server and open the app in your browser:
npm start
You should see the "webpack compiled successfully" notification if everything is set up correctly.
-
Follow the Instructions in the Code: The code contains comments that guide you through the steps needed to complete the calculator's functionality. Follow these instructions to fully implement the app.
- src/: Contains all the source code for the calculator.
- App.jsx: The main component where the calculator logic is implemented.
- index.js: The entry point of the application.
- index.css: Global styles for the application.
- Implement additional features such as percentage calculations and backspace functionality.
- Improve the UI/UX with more animations and themes.
- Add unit tests for critical components to ensure reliability.
Feel free to fork this repository and submit pull requests with improvements, bug fixes, or new features. Contributions are welcome!
This project is open-source and available under the MIT License.