/calculator-js

JavaScript | Modern JS Apps

Primary LanguageJavaScript

EPICODUS STUDENT PROJECT | Node Modules and npm

Calculator, August 1, 2016

By Rachel Bermudes & Maldon Meehan, Epicodus

Description

The calculator object should include the pingPong method. Be sure to take your time on going through setting up your npm packages, your gulpfile and your file structure.

Optionally, try expanding on this to create standard arithmetic methods (add, subtract, multiply, divide).

Ping-pong method:

  • Numbers divisible by 3 are replaced with "ping"
  • Numbers divisible by 5 are replaced with "pong"
  • Numbers divisible by 15 are replaced with "pingpong"
  • The user will be able to a new number and see new results over and over again.

Setup/Installation Requirements

  • Clone this repository:
  • In the command-line run:
$ npm install
  • Open the Index.html file in a browser window.

Known Bugs

  • Currently no known bugs

Support and contact details

If you run into any issues or have questions, ideas, or concerns, please feel free to contact Maldon or Rachel on GitHub.

Technologies Used

  • HTML
  • JavaScript
  • Command-line Terminal

License

MIT License

Copyright (c) 2016 Epicodus