/ts-calculator

A simple calculator built with Typescript

Primary LanguageHTML

Calculator

Description

Simple Calculator to calculate basic arithmetical expressions.

Live Site URL: Typescript Calculator

Features

  • Quickly calculate simple arithmetic expressions
  • Preview the answers of expressions as characters are inputted before clicking the = sign
  • Gives 'Syntax Error' for invalid expressions
  • Automatically save previous expressions and their answers to be viewed later on
  • Use the answers of previous expressions in current calculations simply by clicking the desired history
  • Light/Dark theme depending on user's OS theme

Usage

  • Input expressions and click the = sign to calculate
  • Click the history icon on the bottom left corner of the calculator screen to show the history of calculated expressions and click the icon again to hide the history tray
  • Click any history item to input its answer into the current expression on the calculator screen

Built with