- Add HTML buttons for all numbers and operators
- Add a listener and output clicked numbers on the page
- Add calculate function that only handles addition
- Output results on the page when you click = or hit enter
- Make sure you can use mouse and keyboard items for submitting
- Add subtraction
- Add multiplication
- Add division
- Refactor calculate function to apply order of operations
- build for clear to clear all only
- if more then 10 digits display Error
- display number at current time in Display
- Style the buttons and layout
gardenof/js-calculator
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|