+ 1
Calculator
Hii Everyone ,I want to add more funcanality and css in my code. please tell some suggestions and also tell me how to add error handling function. https://code.sololearn.com/WqjYqz8Wuh8n/?ref=app https://code.sololearn.com/WqjYqz8Wuh8n/?ref=app
2 Respostas
+ 1
Use active property when choosing the buttons...
And CSS is good but make the calculator little bit bigger than its present size.
+ 1
functionalities to add:
memory, undo/redo, auto reset after result (on new button typed), scientist function (square root, cube root, log, cosinus, sinus, tangente and arc of three, 1/x, exponentiation, square and cube shortcut...)
handling etrors:
must avoid eval() basic solution, and handle your calculator functionalities through a real js script, rather than simply inlined functions ;P
check this one:
https://code.sololearn.com/WtF2wev8Vc4m/?ref=app
the styling is not excellent, but responsive and almost all functionalities enumerated previously are implemented, as a real script avoiding eval() ^^