Skip to content

rayalva407/calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator

Calculator Preview This is a calculator implemented using HTML, CSS, and JavaScript. Simple UI that provides basic arithmetic operations like adding, subtracting, etc.

Features

  • Addition
  • Subtraction
  • Multiplication
  • Division
  • Clear all button to reset operation
  • Backspace to edit displayed number
  • Numbers with decimal points are valid
  • Keyboard Support

How to Use

  1. Clone the repository to local machine
  2. Open the 'index.html' file on your browser of choice
  3. Use the calculator by clicking on the UI or using your keyboard
  4. If you prefer not to clone the repo you can access a live preview of this calculator here

Keyboard Support

You can use your keyboard to control the calculator.

  • Use any number key (0-9) to add the numbers to display
  • Use any of the following operator keys:
    • Addition: +
    • Subtraction: -
    • Multiplication: *
    • Division: /
  • Pressing Enter key will calculate the results.
  • Use Backspace to delete the last character.
  • Use the . key to add a decimal point to the current number.
  • To clear all operations and display use the Del key.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published