Design comparison
Solution retrospective
Let me know about the functionality and look and feel.
I have yet to implement the mobile (responsive) version.
Community feedback
- @RahulKumarGautam1636Posted over 3 years ago
It gives 0 when try to calculate 4x04.4 The zero is causing this error. Find a way to prevent user from entering zero after an operator if he does not enters decimal (.) just after that zero.
0@mipsmonstaPosted over 3 years ago@RahulKumarGautam1636 Solved. In the case of user entering "4x04.4", the app will convert to "4x4.4" by removing the trailing "0" in "04".
1@RahulKumarGautam1636Posted over 3 years ago@mipsmonsta nice work but I can still enter 2..... by pressing (.) and an operator consecutively. Not a big problem but creates a chance for error.
0@mipsmonstaPosted over 3 years ago@RahulKumarGautam1636 Solved. App.js now make the check and prevent adding "." to "2.33+". Tks!
0@RahulKumarGautam1636Posted over 3 years ago@mipsmonsta it's almost perfect, keep up the good work.
0 - @palgrammingPosted over 3 years ago
well you can currently type in 1.2.1.2 so you need a check to keep it from allowing multiple ....... periods from being entered
also it would be nice to add keyboard functionality
This is not a easy challenge to get all the functionality and logic correct
0@mipsmonstaPosted over 3 years ago@palgramming bug fixed to prevent case of 1.2.1.2 i.e. multiple decimal points for a number.
0 - @Gamygams1234Posted over 3 years ago
When I am using it, this calculator shows the sign in the Input when I press the sign. Try and make a solution that doesn't do that and works like an actual calculator.
0@mipsmonstaPosted over 3 years ago@Gamygams1234 Show the sign in the input allow the user to know the last operator entered. This is copying some calculator app in mobile phones. The advantage is also that if a sign is entered, and another different sign is entered, the latter will overwrite the sign - for quick correction. So show the sign input to the user is crucial in my design.
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