Skip to content

Latest commit

 

History

History
59 lines (42 loc) · 1.73 KB

README.md

File metadata and controls

59 lines (42 loc) · 1.73 KB

Calculator App 🧮

A React Native Project by Prodigy Infotech

Overview

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.

Track Code

AD Task 1 (React Native)

Task Description

The objective of this task was to create a calculator app that can perform basic arithmetic operations such as addition, subtraction, multiplication, and division.

Features

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

Technologies Used

  • React Native CLI: For building the app.
  • JavaScript/TypeScript: Core programming languages used.
  • Flexbox: For responsive and flexible UI design.

Installation

  1. Clone the repository:

    git clone https://github.com/your-username/calculator-app.git
  2. Navigate to the project directory:

    cd calculator-app
  3. Install dependencies:

    npm install
  4. Run the app:

    npx react-native run-android

Learnings

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.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request for any feature additions or improvements.