Skip to content

ItzBlueSword/Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Calculator

Calculator in HTML, CSS and Javascript.

Features

  • Basic arithmetic operations: The calculator supports addition, subtraction, multiplication, and division.
  • Decimal point: The calculator has a decimal point button, allowing you to enter decimal numbers.
  • Clear button: The calculator has an "AC" button that clears the display.
  • Delete button: The calculator has a "DE" button that deletes the last character entered in the display.
  • Equal button: The calculator has an "=" button that evaluates the expression entered in the display and displays the result.

Instructions

  1. Enter the numbers and operators of the expression you want to evaluate into the text input field using the on-screen buttons or your keyboard.

  2. Use the following buttons to perform the desired operation:

  • Addition: Click the "+" button.
  • Subtraction: Click the "-" button.
  • Multiplication: Click the "x" button.
  • Division: Click the "÷" button.
  1. Click the "=" button or press the Enter key on your keyboard to evaluate the expression and display the result.
  2. If you need to clear the input field, click the "AC" button to clear everything, or click the "DE" button to delete the last character entered.
  3. You can use the decimal point button to enter decimal numbers.

Programming Languages Used

HTML5 CSS JAVASCRIPT

License

MIT License