Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Calculator using grid

Rares-29 50

@Rares-29

Desktop design screenshot for the Calculator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
3intermediate
View challenge

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 GitHub
Discord logo

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