npm run serve
codyseibert / vue-calculator Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hello,
I have followed your tutorial on how to make this calculator a long time ago.
Only now when i want ot re-use it I get some weird output by using the minus operator:
If I do for example 5-2 I get -3. How Do i fix this?
Kind regards.
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 Vue CLI.
Can you please provide some of this?
Thanks.
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 but I couldn't manage to move the calculator around the web page?
Do you have any idea how to implement such a feature?
Thanks!
To avoid getting NaN as you click on = you already could add this.operator = null to equal() function
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.