Skip to content

rishikpogu/calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

calculator

Calculator Application

Description

A fully functional calculator application built with HTML, CSS, and JavaScript. This project includes all basic arithmetic operations and additional features to enhance user experience.

Features

  • Basic Operations: Addition, subtraction, multiplication, and division.
  • User Interface: Interactive buttons for digits, operators, and an equals key.
  • Display: Shows current input and results.
  • Clear Button: Resets the calculator to its initial state.
  • Error Handling: Displays error messages for invalid operations like division by zero.
  • Extra Features:
    • Decimal point button for floating point calculations.
    • Backspace functionality to correct input errors. (TBD)
    • Keyboard support for ease of use. (TBD)

Technologies Used

  • HTML
  • CSS
  • JavaScript

How to Use

  1. Clone the repository: git clone https://github.com/rishikpogu/calculator.git
  2. Open index.html in your web browser.
  3. Use the on-screen buttons or your keyboard to perform calculations.

Screenshots

Calculator Screenshot