A Basic Calculator | Javascript | Tutorial 10

preview_player
Показать описание

Throughout the course we'll be looking at various topics including variables, arrays, getting user input, loops, conditionals, interacting with the DOM and much more.
Рекомендации по теме
Комментарии
Автор

I depend on all your courses highly and have built a career around it....please keep doing this

rishitashah
Автор

Just discovered this series of the videos. LOVE them! Simple, to the point, no silliness, easy to understand

dianealexander
Автор

Thank you mike! I have learnt SQL and javascript through you and I have been able to get a job!

yoothmag
Автор

Very good video! If you ever programmed in Python, you have the input which is the same as window.prompt and you have print which is the same as document.write. So basically, you're the only YouTube when asked how do you perform input for JavaScript, no one couldn't explain? Thank you for showing me this method now I can perform similar task with JavaScript as I do with Python.

DevlogBill
Автор

Good tutorials. Excellent. Do you know Wordpress plugin development?

CreativeWorkersBest
Автор

Thank you for another awesome tutorial.

MalkiaMmoja
Автор

I believe (num1 + num2 * 1) also forces the variables to be numbers rather than strings.

jackmandu
Автор

I built a basic calculator .Thanks to Mike

simbaevans.
Автор

You're taught me C# and js, thanks

darleo
Автор

This is fine and all but what about if you dont want to use a window promt and you want to use html input box?

thetopgtube
Автор

Will it be the same if you want the user to enter the order of operations like in multiplying division and subtraction or average.

jackfukin
Автор

How I do the calculations I did the code but the other page I don’t know?

AbdulrahmanM.AlMekhaizeem
Автор

thank you for creating this series rly helpfull

crappycoders
Автор

but it cannot multiply or divide or some other thingy in this calculator like other calculators

adityabhardwaj
Автор

I'm getting a message of window not defined for user input. please help me sir

swapnapatil
Автор

I love your tutorials

Instead change the variables values on line 5 and 6, you could write like that:

document.write(Number(num1) + Number(num2));

It's better cause accept any type of number (float, int...)

paulorodrigolimafigueiredo
Автор

thank you can make a code js to calculate the age according to the current year

denisivombo
Автор

num1 = Number(num1)
num2 = Number(num2)

stablehealth
Автор

2++2, when i press "+" more than one time consecutively it should not add another plus sign.
how we solve that issue when one time we click operator second time that not clicked in that time.

msvralee
Автор

It’s not playing. It says “something went wrong. Tap to retry” even after retrying it says the same thing.

mattyf