Design comparison
Solution retrospective
The code has issues with negative numbers. I didn't add a +/- button to the calculator for the sake of consistency with design.
Community feedback
- @RubenSmnPosted over 1 year ago
Hi, just played around with your calculator.
I did however find that you'll have to exactly click on the theme button in order to change the theme. Maybe it is a nice feature to also be able to click the number of the theme you want to change to.
When calculating something like
5+6
which results in11
after that I wanted to immediately calculate4*2
but instead of that the input did not clear and I got114*2
, not sure if this was something intended but I would like to mention it.Marked as helpful0@Monzer65Posted over 1 year ago@RubenSmn hi Ruben, Thanks for your feedback and yes, it is a good idea to change the themes by clicking on the numbers too. I'll try to fix it. For the computation part, because there is only one operation at a time, I decided to let the result of the previous calculation stay, so the user could do a new calculation to that. However, I'm aware it is not the best approach I used, I'll try to make it more flawless.
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