Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
Hi here is my solution Calculator-app. I used HTML, CSS, JS.
What challenges did you encounter, and how did you overcome them?It was to check the color-mode using if(window.matchMedia("(prefers-color-scheme: light)").matches)
and set color and background related to the mode.
And using this array to do some calculation, I turned a string into an array array = input.split(regex).filter( (element) => element !== undefined );
.
Then to do the calculation and respect the order between multiply, divide and add, substract.
What specific areas of your project would you like help with?Feel Free to leave any comment or suggestion.
Thanks.
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