
Responsive Calculator Webpage Using HTML, CSS and JavaScript
Design comparison
Solution retrospective
This was a lot simpler than I initially anticipated
Community feedback
- @ChamuMutezvaPosted about 2 years ago
Noted some issues with your solution as stated below:
- a calculator should have a limit of digits that it should take , currently i can overflow the display by continually pressing the digits.
- do the following calculation
0.1 + 0.2
- the following can be avoided
8+-/x3
, but this seems to be a result of usingeval
. Yeseval
can cause some bug code. - I can enter a number such as
9.2222.2222.03
. To replay the issue , enter a fraction such as9.22222
then pressdel
to remove the last digit then press the decimal point again - enter a calculation that gives
infinity
, for example9/0
then delete some characters using thedel
button and perform a calculation
Happy coding
0
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord