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 w/ React, Styled Components, Flexbox, Grid

@bluerhythmz

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


any feedback welcome

Community feedback

P
tediko 6,580

@tediko

Posted

Hello, bluerhythmz! 👋 Well done on this challenge! Here's a few things I'd suggest you to take a look at:

  • I found a bug when I click for number, then any of operator like / * + - and then if i want to click DEL whole page disappear.
  • Your output numbers are overflowing when they're longer. Keep up the good work! 💪
1
P
Patrick 14,325

@palgramming

Posted

  1. you cannot add 2.5 + .5 it results in 7.5
  2. you might want to add keyboard inputs
  3. also to make the = button do the last operand like 2+2 =4 and it you hit equals again it would result in 6, 8 , 10, 12
  4. good thing to use a real calculator and check its functionality against yours
1

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