This project is a sleek, responsive calculator app developed using React Native CLI (Typescript). It performs basic arithmetic operations and is designed with a modern, user-friendly interface.
AD Task 1 (React Native)
The objective of this task was to create a calculator app that can perform basic arithmetic operations such as addition, subtraction, multiplication, and division.
- Basic Arithmetic Operations: ➕ Addition, ➖ subtraction, ✖️ multiplication, and ➗ division.
- Responsive Design: 📱 Adapts to different screen sizes for optimal user experience.
- Modern UI: 🖌️ Clean and intuitive user interface with professional styling.
- Error Handling: 🚫 Displays an error message when attempting to divide by zero.
- React Native CLI: For building the app.
- JavaScript/TypeScript: Core programming languages used.
- Flexbox: For responsive and flexible UI design.
-
Clone the repository:
git clone https://github.com/your-username/calculator-app.git
-
Navigate to the project directory:
cd calculator-app
-
Install dependencies:
npm install
-
Run the app:
npx react-native run-android
This project provided valuable hands-on experience in:
- Building and styling components in React Native.
- Handling state and user inputs.
- Implementing basic arithmetic logic.
- Error handling and validation.
Contributions are welcome! Please fork the repository and submit a pull request for any feature additions or improvements.