Conditionals (if statement) - JavaScript Programming Basics p.4

preview_player
Показать описание
In this JavaScript basics tutorial, we're going to be covering conditional statements. In our case, we want to be able to handle for when our blob has gone off of the visible canvas.

Рекомендации по теме
Комментарии
Автор

Thank you very much for these tutorials!

xphis
Автор

Your explanation about the If Else statement is amazing amazing. Thanks

jayhu
Автор

The pipe character "|" is not always above your enter key, that is only on the ANSI keyboards, if you have an ISO keyboard (often has a tall enter key) you will find the pipe just above the windows key.

scootscootk
Автор

What's with the regular coffee cup?


And I'd still recommend a closure (same as with Python), because you can encapsulate the x and y and their changes in the function. You could even have many different blob functions.

rchuso
Автор

Hi, could you tell me how to get historical data for Indian markets(NSE) on Quantopian to do some backtest?

indresh_rao
Автор

Hello! Can you increase the value of xChange to 10 and see the result? you will see the circle with disappear after the first flip.

aashikyadav
Автор

So after learning classes in your next video will i be able to make a snake game ???

indranilkarmakar
Автор

hello, how to replace this with a bouncing dvd logo?

MrBledi
Автор

Please i need some advice from you.
I'm Computer Science student, and i wanted to become programmer that will develop something, all the stuffs we've been doing in school are not helping somehow.
I can see that you're professional programmer, and i'm interest in what you're doing, maybe you could help me with working method in programming, and tell me how you start your journey.

abdulazizmusa
Автор

I am trying to put 3 circles into canvas, so I copied line 35 2 times (1 green, 2nd is blue, 3rd is red) and gave them different x and y locations but only last one (red)is showing up on the canvas

Mr_Moe_Lesterr
Автор

I don't get it. Functions do not have local variables? why the use o xloc and x in the function?

miguelguerreiro
Автор

Please do tensorflow 2.0 after Javascript tutorials

ivmIndi
Автор

Do we need to put endif tag like we use in django?

manpreetkaur
Автор

I have another query regarding python memory error
How can I avoid error memory error while I am importing CSV file into python
I have tried into jupyter& spyder both

adhvaitkansara
Автор

Why do we need JavaScript when we already know python?

rahmahdirasuciprimalovita
Автор



So I tweaked this code a little and made 3 balls bouncing around in random directions. And also the edge color changes as each ball hits one of the edges.

chyavan