Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 3 years ago

Calculator app using React with material-ui

Suyash Shakya•110
@SuyashShakya
A solution to the Calculator app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


I couldn't make the three state toggle switch, is there anyone that can give me some idea about how its done!!

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

  • Dharmik_487•1,740
    @Dharmik48
    Posted over 3 years ago

    Hey👋, Good one on completing the challenge. Though there are a few issues:

    • First is that the calculator isn't centered.

    • The font doesn't look like in the design.

    • There's a issue when I type a number than any operation(+,-,* or /) like for example 4+4+4+4.. then in the display it says 4444.. which is wrong

    • And as for the theme switcher you can refer my solution, which is not the best but it works.

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
Frontend Mentor logo

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

Frontend Mentor

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

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

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub