
Build a Calculator with Vue.js
video description
Date: 2022-03-14
Related videos
Comments and reviews: 10
Diego
Great video! I'm just starting with Vue.js and was wondering what is the criteria for deciding how to divide an app into reusable components. For example, could I create a Vue component for the keys called keyComponent and each key of the calculator would be an instance of this Vue component?
reply
Great video! I'm just starting with Vue.js and was wondering what is the criteria for deciding how to divide an app into reusable components. For example, could I create a Vue component for the keys called keyComponent and each key of the calculator would be an instance of this Vue component?
reply
DABHIRI
A little bug but can be fixed....just update the equal function : -$-this.operator(-
parseFloat(this.previous),-
parseFloat(this.current)-
)-- ; ..............this.previous should come first not the otherwise
reply
A little bug but can be fixed....just update the equal function : -$-this.operator(-
parseFloat(this.previous),-
parseFloat(this.current)-
)-- ; ..............this.previous should come first not the otherwise
reply
Eyad
I don't really care about what this calculator is missing, the most important objective is to understand the concept here, and i think this video pretty much explains it
Thanks for the great explanation
reply
I don't really care about what this calculator is missing, the most important objective is to understand the concept here, and i think this video pretty much explains it
Thanks for the great explanation
reply
Cigomba
Thanks for sharing. This is the easiest implementation of a calculator webapp that I have found so far and I was able to follow it throughly even though it was my first time using Vue.js. Thanks again!
reply
Thanks for sharing. This is the easiest implementation of a calculator webapp that I have found so far and I was able to follow it throughly even though it was my first time using Vue.js. Thanks again!
reply
stephen
I love the vid but feel that this is more of a JS / CSS tutorial lol
Why didn-t you separate the numbers into separate components to show off Vue-s reusable component system?
reply
I love the vid but feel that this is more of a JS / CSS tutorial lol
Why didn-t you separate the numbers into separate components to show off Vue-s reusable component system?
reply
vincent
Good job... how about some videos on doing Menu's and Routing. Ideally vue.js . single page . where we just slide a card out of view and transition a new card for its place.
reply
Good job... how about some videos on doing Menu's and Routing. Ideally vue.js . single page . where we just slide a card out of view and transition a new card for its place.
reply
Randall
I think a good next step would be to show how this calculator could be made into a component for nesting into a larger project. Thanks for the video.
reply
I think a good next step would be to show how this calculator could be made into a component for nesting into a larger project. Thanks for the video.
reply
Romeo
Instead of typing a string with number each time you can do
4
and then
type(e) --
this.result += parseInt(e.target.innerHTML);-
-,
reply
Instead of typing a string with number each time you can do
4
and then
type(e) --
this.result += parseInt(e.target.innerHTML);-
-,
reply
JOHN
1:1 error Component name -Calculator- should always be multi-word vue/multi-word-component-names
why this is happening and how do i fix this? ty
reply
1:1 error Component name -Calculator- should always be multi-word vue/multi-word-component-names
why this is happening and how do i fix this? ty
reply
Влад
very bad code. sorry
it-s good video as vue & css grid tutorial.
However, as for the calculator algorithm - everything-s very bad
reply
very bad code. sorry
it-s good video as vue & css grid tutorial.
However, as for the calculator algorithm - everything-s very bad
reply
Add a review, comment
Other channel videos















