Skip to content
This repository was archived by the owner on Aug 25, 2025. It is now read-only.

san00/JavaScript-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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 =

Immediate Execution Logic: 11.5
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