/Calculator-Flask-App

This web-based calculator project offers a simple yet elegant interface for performing basic arithmetic operations, integrating a responsive front-end with a Flask-powered back-end for real-time calculations.

Primary LanguageHTMLApache License 2.0Apache-2.0

Calculator-Flask-App

Overview

This web-based calculator is a lightweight, easy-to-use application designed for performing basic arithmetic operations. It features a modern and responsive design, with a unique layout. The back-end is powered by Flask, providing real-time calculations with robust error handling and validation.

Features

  • Basic arithmetic operations: Addition, Subtraction, Multiplication, and Division.
  • Intuitive user interface.
  • Real-time calculations with error handling.
  • Responsive design for desktop and mobile device compatibility.

Demonstration

Calculator.mp4

Requirements

  • Python 3
  • Flask

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/GehanSherif/Calculator-Flask-App
  2. Navigate to the project directory:

    cd Calculator-Flask-App
  3. Install the required dependencies:

    pip install flask
  4. Start the Flask application:

    python app.py
  5. Access the web application by navigating to http://127.0.0.1:5000/ in your web browser.

Usage

  • Use the numeric buttons on the calculator interface to enter numbers.
  • Use the operator buttons (+, -, *, %) to perform arithmetic operations.
  • Click the equal button (=) to calculate and display the result.
  • Use the AC button to clear the current operation and start anew.

License

This project is open-source and available under the Apache-2.0-1 License.