Lordwill1 / calculator

This is a simple calculator web application built with HTML, CSS, and PHP. It allows users to perform basic arithmetic operations such as addition, subtraction, multiplication, and division.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Calculator App

This is a simple calculator web application built with HTML, CSS, and PHP. It allows users to perform basic arithmetic operations such as addition, subtraction, multiplication, and division.

Features

  • Input fields for two numbers and a dropdown menu to select the operation.
  • Error handling for empty fields and non-numeric inputs.
  • Calculation of the result based on the selected operation.
  • Styling for a visually appealing user interface.

How to Use

  1. Clone this repository to your local machine.
  2. Ensure you have a PHP server installed (e.g., XAMPP, WAMP, or MAMP).
  3. Place the cloned files in the root directory of your PHP server.
  4. Start the PHP server.
  5. Open your web browser and navigate to http://localhost/calculator.php (replace calculator.php with the actual filename if different).
  6. Enter two numbers and select an operation from the dropdown menu.
  7. Click the "Calculate" button to see the result.

Technologies Used

  • HTML
  • CSS
  • PHP

Screenshots

Calculator Screenshot

About

This is a simple calculator web application built with HTML, CSS, and PHP. It allows users to perform basic arithmetic operations such as addition, subtraction, multiplication, and division.


Languages

Language:PHP 100.0%