Submitted over 3 years ago
Calculator app | Nextjs, styled components and localStorage
@p-alex
Design comparison
SolutionDesign
Solution retrospective
I would love to hear any kind of feedback from you! Happy coding!
Community feedback
- @tedikoPosted over 3 years ago
Hello, Alex Daniel! 👋
Good effort on this challenge! Everything works good and responds well. I finished this challenge today also so take a look if you want. What I'd suggest is:
- Display some error message after user divide by zero instead of default javascript "infinity".
- After dividing by zero reset your calculator so when I try to start again my calculations it doesn't add numbers to "Infinity" string.
Good luck with that, have fun coding! 💪
1 - @palgrammingPosted over 3 years ago
Looks like you have a good start to the challenge but one thing I see it you need to limit the "." so it cannot be entered more than once for a number entered. You currently can type this "3.2.2.2.2." into your calculator
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