Hey guys, I’ve been stuck for a bit in the calculator project. It’s been really challenging.
This is my code on codepen: https://codepen.io/vhforbes/pen/LYNYOJG
The known issues that I’m facing are:
Can’t keep making operations after the first one (I don’t know where to reset my currentValue variable, and which value should I give it)
If I click the numbers buttons after making an opperation and having the totalValue displayed, it’ll add a number to the right of the current display value (totalValue), instead of reseting it.
I don’t know how good is my approach to the project and would love to hear some toughts and have some feedback so I can improve my logic and skills.
All the help is deeply appreciated!