Skip to content

Simple calculator web application built with HTML, CSS, and JavaScript. Perform basic arithmetic operations and view results instantly.

Notifications You must be signed in to change notification settings

dev-kant-kumar/Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator Web App

Screenshot 2024-04-18 104354 Screenshot 2024-04-18 104507

This is a simple calculator web application built using HTML, CSS, and JavaScript. It allows users to perform basic arithmetic operations such as addition, subtraction, multiplication, and division. The calculator provides instant results and supports decimal numbers.

Demo

Try out the calculator live here.

Usage

  • Click on the number and operator buttons to input your calculation.
  • Press the "=" button to see the result.
  • Use the "C" button to clear the calculation.

This calculator supports the following operations:

  • Addition (+): Click the "+" button to add numbers together.
  • Subtraction (-): Click the "-" button to subtract numbers.
  • Multiplication (×): Click the "×" button to multiply numbers.
  • Division (÷): Click the "÷" button to divide numbers.
  • Modulus (%): Click the "%" button to calculate the remainder of division.
  • Decimal numbers: Click the "." button to input decimal numbers.
  • Cancel: Click the "X" button to delete the last entered character.
  • Clear (C): Click the "C" button to clear the entire calculation.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please fork the repository and submit a pull request.

License

This project is licensed under the MIT License.