项目作者: san00

项目描述 :
Calculator
高级语言: JavaScript
项目地址: git://github.com/san00/JavaScript-calculator.git
创建时间: 2017-01-17T17:06:46Z
项目社区:https://github.com/san00/JavaScript-calculator

开源协议:

下载


JavaScript-calculator

Build a calculator with the same functionality as the real world object. This calculator uses immediate execution logic and doesn’t observe the order of operation precedence.

EXAMPLE: 3 + 5 x 6 - 2 / 4 =

  1. Immediate Execution Logic: 11.5
  2. Formula/Expression Logic: 32.5

User story

The calculator can add, subtract, multiply and divide two numbers and keep chaining mathematical operations together until the equal button is pressed. When pressed, equal will show the correct total, which can be cleared via a button.

Create an app functionally similar to this: https://codepen.io/FreeCodeCamp/full/rLJZrA/

Technologies

  • JQuery
  • HTML/CSS
  • Javascript