vue-calculator
vue-calculator copied to clipboard
To avoid getting NaN as you click on = you already could add this.operator = null to equal() function
Hallo Cody, I recreated the vue calculator following your tutorial on Youtube. I have a curiosity: how would you make the calculator moveable? I tried to use vuedraggable and vue-draggable...
Thanks for putting this together and demonstrating Vue components and CSS Grid! Implementation of the core logic concerned me though for two reasons: 1) Logic is tightly coupled with the...
Hi @codyseibert It seems that there is no starter files for your video here: https://www.youtube.com/watch?v=m1_ih43p24s, and you did not show the settings you used for setting up the project with...
swap order of parameters in equal() this fixes problem with divide and subtract operations.
…equal will continue to do previous operation (long commit message continued) Thanks cody for the awesome tutorial! It seemed that subtract method was making numbers negative, e.g.( 9 - 3...