Please critique my calculator! ^^

project link: https://codepen.io/montycantsin/full/YVJqMY/

took me forever and a half to get this done. excuse the ugly calculator. not much of a graphics designer :confused:

any feedback on the calculator would be much appreciated! i tried to break it every way i thought possible. please let me know if you catch anything i missed ^.^

thanks in advanced

-monty

Looks fine on my end. Is there any way to make it so that we can input using numeric keys from keyboard?

okay, done!

thought it’d be easy enough but adding keystrokes completely broke it :joy:

plus, the whole javascript keycodes not matching the unicode characters was a bit of a hassle. had to use .onkeypress for everything but ‘delete’ and ‘backspace’ for clear, which i used .onkeyup to feed in the value i used for the clear function.

think i fixed all the newly added bugs, give it a whirl and see if i missed something?