JavaScript Tutorial for Beginners - 10 - Conditionals Part 2

preview_player
Показать описание
Conditionals in Javascript.
Рекомендации по теме
Комментарии
Автор

i read some books on JS, but this is much more (in general) better explained. Same goes for your CSS tutorial. Keep it up man.

nl
Автор

This is the best tutorial ever!! Thank you ...! Keep it up

kawblayhtoo
Автор

I love your tutorials short, crisp, precise. Thanks for your efforts

RiazKhan-xbhv
Автор

ok I stop here, tomorrow again! thank you sir God bless you.

Project-benc
Автор

I generally prefer to use a "switch {...} block rather than cascading if { } else if {} else if {} else {}.

switch(food)
{

case "Apple" :
alert("We ate an Apple.");
break;

case "Meat" :
alert("We ate some Meat.");
break;

case "Fast Food" :
alert("We ate some Fast Food.");
break;

default:
alert ("We ate something else");
break;

}

duncanmcdonald
Автор

You are awesome!
What else can I possibly say

syedtehnanathar