abdullah4tech / Calculator

Simple calculator in HTML, CSS, and JavaScript

Home Page:https://calculatorjs-five.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

๐Ÿงฎ Calculator

A simple user-friendly calculator built using HTML, CSS, and JavaScript.

Features

  • โž• Addition, โž– subtraction, โœ–๏ธ multiplication, and โž— division operations.
  • ๐Ÿ“ฑ Responsive design for a seamless experience on different devices.
  • ๐Ÿ”„ Clear button (C) to reset the display.
  • ๐Ÿ’ก Support for decimal numbers.
  • ๐ŸŽจ Stylish and intuitive user interface.

How to Use

  1. ๐ŸŒ Open the index.html file in a web browser.
  2. ๐Ÿ”ข Use the numeric buttons (0-9) to input numbers.
  3. โž•โž– Use the operator buttons (+, -, *, /) to perform calculations.
  4. โžก๏ธ Press the "=" button to see the result.
  5. ๐Ÿ”„ Press the "C" button to clear the display.
  6. ๐ŸŽฏ Decimal point button allows input of decimal numbers.

Styles

The calculator boasts a modern and visually appealing style. Buttons change color on hover and click to provide visual feedback.

Keyboard Shortcuts

  • ๐Ÿ”ข Use the numeric keys for direct input.
  • โž•โž– Use the corresponding operator keys (+, -, *, /) for operations.
  • โŽ Press the "Enter" key to calculate the result.

Notes

  • The calculator handles basic arithmetic operations.
  • Division by zero or invalid expressions may result in a "Syntax error" message.
  • The backspace functionality is currently commented out in the code.

Feel free to customize and enhance the calculator according to your preferences or project requirements. If you encounter any issues or have suggestions for improvements, please let me know! ๐Ÿš€

About

Simple calculator in HTML, CSS, and JavaScript

https://calculatorjs-five.vercel.app/


Languages

Language:CSS 43.9%Language:HTML 40.9%Language:JavaScript 15.2%