Mini-Projects
Mini-Projects copied to clipboard
Update cal.js to fix a calculator issue
I noticed that the result lingers on the display space after clicking a number and the clicked number is added as an additional digit to the result. So I fixed the issue so that the display is cleared after clicking a number and the last result is being operated if an operator is clicked.
Resolves: (adder) function