Skip to content

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

JavaScript Calculator

This is a simple, web-based calculator built with HTML, CSS, and JavaScript. It supports basic arithmetic operations, including addition, subtraction, multiplication, and division, along with handling parentheses for complex expressions.

Features

Basic Operations: Perform addition, subtraction, multiplication, and division. Keyboard Input: Supports number and operator input via the keyboard. Real-time Display: The input and results are displayed dynamically. Clear & Delete: Includes buttons to clear all input or delete the last character.

Installation

Clone the repository or download the project files. Open index.html in your preferred web browser.

Usage

Click on the buttons or use your keyboard to input numbers and operations. Click = or press Enter to evaluate the expression. Click C to clear the input or use the delete button/icon to remove the last character.

File Structure

index.html: The main structure of the calculator. style.css: Contains the styles for the calculator UI. script.js: Handles the calculator logic and event listeners.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages