adamichelle / simple-calculator-app

A calculator app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple Calculator App

A calculator app that can perform basic arithmetic operations like addition, subtraction, multiplication and division. It also clears current entry as well as all entries from the calculator. App deployed on Github Pages here: Simple Calculator App

Stack:

  • HTML
  • CSS
  • JavaScript (Vanilla)

Edge Cases Handled

  • Division by zero: Alerts user and does not allow any other opertaion take place until the entries are cleared.
  • Chain arithmetic operations e.g 1 + 2 + 3 + will give 6
  • Display results as Chain operations happen.
  • When either of the four operators are pressed, immediately after the = symbol, arithmetic operations begin with the result of previous operation.

About

A calculator app


Languages

Language:JavaScript 46.3%Language:CSS 29.0%Language:HTML 24.7%