Kimkorng
JSCalculator

JSCalculator

javascript
calculator
html
css

A simple calculator app built with HTML, CSS, and JavaScript. This calculator supports basic arithmetic operations such as addition, subtraction, multiplication, and division.

Features

  • Basic Arithmetic Operations: Addition, subtraction, multiplication, and division.
  • Clear Function: Reset the calculator display.
  • Responsive Design: Works on both desktop and mobile devices.
  • User-Friendly Interface: Easy-to-use interface.

Installation

To run the calculator app locally, follow these steps:

  1. Clone the repository:
    shell
    git clone https://github.com/kimkorngmao/js-calculator-app.git
  2. Navigate to the project directory:
    shell
    cd js-calculator-app
  3. Open index.html in your browser:
    shell
    open index.html

Usage

  1. Enter numbers using the buttons on the calculator.
  2. Use the operation buttons (+, -, *, /) to perform calculations.
  3. Click the "=" button to see the result.
  4. Use the "AC" button to clear the display.

Project Structure

plaintext
js-calculator-app/ ├── index.html ├── style.css ├── script.js └── switch-mode.js