Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Calculator ๐Ÿ”ข

This is a basic calculator built using HTML, CSS, and Vanilla JavaScript. It performs simple arithmetic operations like addition, subtraction, multiplication, and division.

๐Ÿš€ Features

  • Basic arithmetic operations: Addition, Subtraction, Multiplication, Division, Modulo
  • Decimal point support (e.g. 3.14 + 2.1)
  • Input correction with Backspace (<----)
  • Clear button (C) to reset the calculator
  • Evaluates only one operation at a time
  • Automatically evaluates ongoing expressions (e.g. 12 + 7 - 3)
  • Handles division by zero with a custom error message
  • Prevents invalid input like multiple decimal points in a number
  • Clean and responsive UI

๐Ÿ› ๏ธ Technologies Used

  • HTML5
  • CSS3
  • Vanilla JavaScript

Live Demo

The link for the calculator is in the About section of this GitHub repository.

About

This is a basic calculator built using HTML, CSS, and Vanilla JavaScript. It performs simple arithmetic operations like addition, subtraction, multiplication, and division.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages