Tuesday, March 28, 2017

Learn Javascript Part III (Conditional)

edankeun.com-if you're code writer will know what is conditional and looping, conditional is when you have some data but you want to set when the data will be used,and looping is when you have the data and want to print or set repeatedly okays in this section we will explain about it.

Conditional
conditional on javascript

  1. IF conditional
  2. IF ELSE conditional
  3. IF ELSE IF conditional
  4. Switch Statement
1.Example IF Conditional
in this case,we will write the program and show the text "hello world" when the variable X more than 10

if (condition){
you code
 }



Related Posts

Learn Javascript Part III (Conditional)
4/ 5
Oleh