Skip to content

This project is a functional calculator built using HTML, CSS, and JavaScript. It supports basic arithmetic operations, percentage calculations, and sign toggling

Notifications You must be signed in to change notification settings

yashokuu/ios-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

IOS Calculator in HTML

Overview

This project is a functional calculator built using HTML, CSS, and JavaScript. It supports basic arithmetic operations, percentage calculations, and sign toggling.

Features

  • Basic operations: Addition, subtraction, multiplication, and division.
  • Percentage calculation and positive/negative toggle.
  • Keyboard support for numbers and operators.
  • Touch and click interaction for buttons.
  • Dynamic display for large numbers and decimals.

Usage

  1. Open index.html in a browser.
  2. Use buttons or keyboard to input values.
  3. Press = or Enter for results.
  4. Clear input with AC. Use ± to toggle sign. Use % for percentage.

Shortcuts

  • 0-9 and . for numbers.
  • +, -, *, / for operators.
  • Enter for equals.
  • Escape or Backspace for clear.

File Structure

  • index.html: Calculator structure.
  • Inline CSS: Styling.
  • Inline JavaScript: Logic.

About

This project is a functional calculator built using HTML, CSS, and JavaScript. It supports basic arithmetic operations, percentage calculations, and sign toggling

Topics

Resources

Stars

Watchers

Forks

Languages