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-app

Mojtaba Mosavi• 3,760

@MojtabaMosavi

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


I Love to hear any thoughts and ideas about this solution that you might wanna share.

Keep coding :=)

Community feedback

Account Deleted

The first I went to is the cog wheel🤣... not sure if it supposed to do something or not but it did nothing to me, & I think your solution looks ok but;

  • You should restrict the entry of multiple periods(....) just to avoid anything that may come with it.
  • The delete button does not delete but resets, it's supposed to only remove the last value not all of them.

If you could take care of those things it'll be a lot better.

0

Mojtaba Mosavi• 3,760

@MojtabaMosavi

Posted

@thulanigamtee That was suppose to be the button to activate a modal for custom setting but I decided not to implement it (should've removed the cog icon).

1-About the entry of multiple periods, do you mean that the input shoud be filtered against harmful input ?

2- It does not remove all of the only the one, if you try with [operand1][opeartion][operand2]= and hit it you still have the [operand1][operation] or did I misunderstod ?

0
dewslyse• 3,025

@dewslyse

Posted

Looking good. Try to limit the number of times the period (.) can be entered during computation. Currently, the calculator accepts 1.2.3.4.5.6

0

Mojtaba Mosavi• 3,760

@MojtabaMosavi

Posted

@dewslyse Your totally right, thanks.

0

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