A practice project to develop a basic calculator.
Clone the repository and go. You can also run npm install
to set up a minimal dev environment (run it from the command line with gulp watch
) which includes auto-refresh with browser-sync.
The function formatNumber comes from Tom Pawlak at https://blog.tompawlak.org/number-currency-formatting-javascript
Click sound by Simon Craggs at SoundBible - Used under a CC Attribution License.
- Get display to trigger scientific notation on long numbers
- Limit length of top display (showing previous entries)