/calculator

Primary LanguageJavaScript

JavaScript Calculator

by Tom Drapes

FreeCodeCamp Advanced Front End Development Project

Challenge #289

This program was written to fullfil the following user stories as specified by the FCC curriculum.

User Story One: I can add, subtract, multiply and divide two numbers.
User Story Two: I can clear the input field with a clear button.
User Story Three: I can keep chaining mathematical operations together until I hit the equal button, and the calculator will tell me the correct output.

Screenshot

screen

How to run

To use the JavaScript Calculator simply download or clone this repository and open index.html in a browser.
This program works for basic addition, subtraction, multiplication and division of positive numbers.