Conditional Statements: If, Else, and Switch | kirupa.com

by kirupa | 16 February 2014

From the moment you wake up, whether you realize it or not, you start making decisions. Turn the alarm off. Turn the lights on. Look outside to see what the weather is like. Brush your teeth. Put on your robe and wizard hat. Basically...you get the point. By the time you step outside your door, you consciously or subconsciously will have made hundreds of decisions with each decision having a certain effect on what you ended up doing.


This is a companion discussion topic for the original entry at http://www.kirupa.com/html5/conditional_statements_if_else_switch_javascript.htm