just making a simple calculator in Javascript, hope you guys like it.
please like this video if you like it, or subscribe to my channel 馃榾
Original source
just making a simple calculator in Javascript, hope you guys like it.
please like this video if you like it, or subscribe to my channel 馃榾
Original source
39 responses to “Javascript Tutorial – how to make a basic calculator”
cool now to do some styling.
wait I don't now how to style inputs
En esta oportunidad tienes un curso r谩pido y sencillo para aprender a utilizar esta tecnolog铆a sin gastar tu dinero, desarrollado por la plataforma Codecademy totalmente en espa帽ol.
http://www.mundocyberia.com/2016/12/curso-de-javascript-para-principiantes.html
how do you make the dang text stop deleting when you type
How do you make the site?
hasta el culo!
what program do you use? I am interested. Also can I use it on windows?
Super easy
Thank you.This was easy and clean.
how to show the result in a box instad of alert ??
Which Coding Program are you using?
i just wanted to add why does this not work?
<!DOCTYPE html>
<html>
<head>
<title>My Caculator</title>
</head>
<body>
<script>
function setvalues(){
var a,b, result;
a = document.getElementById("a").value;
b = document.getElementById("b").value;
}
function sum(){
setvalues();
result = a+b;
alert("= "+result)
}
</script>
<input id="a" type="text"/>
<input id="b" type="text"/>
<input type="button" onclick="sum()" value="sum">
</body>
</html>
i thought type attribute is no longer required in HTML5?
which app you use???
Nice tutorial ! Thanks.
thank you for this good explaintaion
can share the syntax of this work to me.
Thank you
This is a great tutorial thanks!
when i press the sum button – nothing happend….?
whats your opinion?
Would this work on Apple macbook? I'm using a script editor that came with the computer, but the program in the video looks different from mine.
hahaha bro i love your reaction 50 times 50 is 100 wt..f this is wrong. x//D thanks man. I love i learn some JS now 馃榾
thx dude u are pro
plz, can you send me the code
Thank you this helped me sooooooo much!!
Thank you . You are the best 馃檪
Thanx mate, great guide for a new student. cheeeers
Nice tutorial. Thanks.
Hello. What theme are you using here in Sublime Text???
Hey! Liked your video, but could there be any way that it would work if you spelled the numbers(one, two, three, four)?
Javascript not yava JAVA with a J
Any idea how to do this with only one function using if statements?聽
why are you using 'onclick'?聽
hi jorge, i was wondering if you could give me some help with js.
yeah goo java scrip coding ilike it much
is this sublime 2 text editor?
What program are you using?
This was extremely informative. Very basic but you went over the details of the functions and how they are working in a manner that allowed me to actually learn from your work. Don't let anybody tell you their work is better, when you clearly understand what is happening from your work so well.
Thank you for this valuable tutorial
With 34 lines of code including the button i made something that has the same power as that. And it tells you if it is Not a Number. And it prompts it. This is a nobie calculator. I also made t he better one in my dawn of javascript
Thanks a lot, needed this.