Skip to content

Akanksha1011Yadav/Basic-Calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ProCalc - Advanced Basic Calculator

Description

This project is a fully functional web-based calculator built using HTML, CSS, and JavaScript. It features a modern, responsive user interface and supports both mouse clicks and keyboard input. It performs basic arithmetic operations following standard mathematical rules.

Features

  • Arithmetic Operations: Addition (+), Subtraction (-), Multiplication (*), and Division (÷).
  • Keyboard Support: Full mapping of keyboard keys to calculator functions.
  • Error Handling: Gracefully handles division by zero by displaying "Error".
  • Formatted Display: Automatically adds commas to large numbers (e.g., 1,000,000).
  • History View: Shows the previous operand and current operator at the top of the display.

How to Run

  1. Download prj3.html, prj3style.css, and script.js.
  2. Place them in the same folder.
  3. Open prj3.html in any modern web browser.

Technologies Used

  • HTML5
  • CSS3 (Grid, Flexbox, CSS Variables)
  • JavaScript (ES6 Classes)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors