Skip to content
Calculator created with JS including Jasmine Unit Tests
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
jasmine
.gitignore
calculator.js
index.html
preview.jpg
readme.md
styles.css

readme.md

JavaScript Calculator

JavaScript calculator with Jasmine Unit Tests to make sure calculations are performed correctly. This calculator uses immediate execution logic.

live demo: http://frail-pen.surge.sh/

JS Calculator Preview

Getting the code set up on your computer

  1. Firstly you will need to clone this repository by running git clone https://github.com/sebam2k4/Calculator-JS-Jasmine command in your terminal.
  2. open index.html to start the calculator in your browser
  3. open /jasmine/SpecRunner.html to run Jasmine tests
  4. modify any way you want.
  5. Enjoy!

Note to self: Try converting the code to use a Calculator object.

You can’t perform that action at this time.