My calculator 😁

Project Link - https://codepen.io/elusivefoxy/full/BzmQyJ

1 Like

Everything appears to work fine. The code looks clean - jQuery with eval is probably the simplest way to build this project.

1 Like

Actually i noticed one problem, when i clicked on Ans it just appends β€œAns” in the display whether i click on it after getting the answer or when i click on it for getting the answer instead of the equal to button.You may want to fix that bug, rest all looks pretty neat. Good job!

Thanks c:

Not a bug, β€˜Ans’ is a variable (which stores the last answer).

When I click on several operations one after another it piles them up. Would be nicer if it only showed the last one entered.