calculator app using grid and flex

Solution retrospective
Responsiveness
- I achieved responsiveness without using too many media queries
Design
- I am kind of happy about my UI and overall behaviour
Functionality
- Though the app can not calculate more "complex" math like '2--1', it works pretty well
Future Improvements
- I will try using a preprocessor like sass
Please log in to post a comment
Log in with GitHubCommunity feedback
- @thisisharsh7
Hey, great job on completing this project! Your theme switching feature is very good and the transition adds enhances the UX.
For future improvements:
- Try adding keyboard support (e.g., allowing the user to type numbers and operators directly).
- Use comments in JS to clarify logic, especially in
evaluate()
andprocessInput()
— will help future you to understand the flow. - Keep exploring Sass will help organize styles better in future projects.
Overall, a fantastic work - happy coding!
Marked as helpful - @MarziaJalili
Awesome! 🔥
🌟 A tiny tweak?
✅ For mobile, you can add some inline margin to the calculator to set it apart from the edges of the page.
The web's insane, bro! 👑
Join 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