Design comparison
SolutionDesign
Solution retrospective
The most difficult part was to figure it out how I can make my operations to execute in math order. For example 3 + 5 * 2 = 13, not 16. When I met "/" "*" signs, I execute the operations, and for the rest of operations and numbers, I build 2 arrays, which will be executed at the end. I saw a function "eval()", but I wanted to make all from 0. If you have any sugestions/feedback's feel free to write.
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