I want opinions | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

I want opinions

Please check out my calculator and tell me what you think. All opinions are welcome. https://code.sololearn.com/WUY4nQmfIXnf/?ref=app

8th Apr 2017, 3:46 PM
Augustus Otu
Augustus Otu - avatar
4 Answers
+ 10
Good job, but you can improve it by many ways: handle case of cancel button of alert()/prompt() by user, or better, rewrite your code to avoid use of alert()/prompt()/confirm() functions ( not user friendly ;) )... You can do that by writing an Html/css alternative to the 'alert' kind buit-in boxes, or integrate the necessarly form elements to get input from user more statically in your page design/template ( and why not doing some numeric/operators keyboard and display to make a realistic virtual calculator ;) )
8th Apr 2017, 4:50 PM
visph
visph - avatar
+ 2
I've just had a look, it's really good! :)
8th Apr 2017, 3:49 PM
Thomas John
Thomas John - avatar
+ 1
Thank you very much
8th Apr 2017, 3:50 PM
Augustus Otu
Augustus Otu - avatar
+ 1
It is really good, but it's not user friendly. And i think you should make an alert if what you put is a string or char instead of number. :-)
13th Apr 2017, 11:09 PM
Krisna A. Haryadi
Krisna A. Haryadi - avatar