Submitted about 3 years agoA solution to the Calculator app challenge
Semantic HTML, CSS Flex box, Javascript es6
@kenneth-agadumo

Solution retrospective
Writing the arithmetic functionality of the calculator was particularly difficult because I was always creating bugs in trying to get the calculator to work properly.
The event listener function for the toggle and operator buttons seem repeated and not-DRY, so I would like tips and advice on the best practices to make my code clean, well structured and es6+ compatible.
Thanks!
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Kenneth Agadumo's solution.
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