Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted almost 2 years ago

Calculator app with React and Redux

react, redux, pwa
Abel Muro•1,920
@AbelMuro
A solution to the Calculator app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


A fun app to develop. The most challenging part was utilizing an algorithm that evaluates a string that has a math expression. I ended up using the postfix algorithm to do exactly that. But first, I needed to convert the math expression from infix (5 + 5) to postfix (5 5 +). Postfix strings are perfect for evaluating math expressions using a stack data structure (my leetcode skills finally helped me for once....). And of course, the app is fully responsive and will look great on any device.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Abel Muro'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

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License