Design comparison
SolutionDesign
Solution retrospective
This Calculator App was made using HTML, SASS and JS.
The calculator script was made with POO, but the theme-switcher logic wasn't. The calculator is defining the theme based on the system preference, but you can switch themes and the theme you choose will be saved on the local storage, so when you reload it, the calculator get your preference there and set it.
Let me know if there is something that i can improve or if a miss something required.
Community feedback
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