IF – JavaScript

IF statements are ideal for when you want to control how your code flows. IF statements only evaluate either True or False and they look like this: if ( condition_to_test ) {  what to be done if the “condition” is true. } An if statement consists of the word ‘if’ in lowercase letters, followed by the …

IF – JavaScript Read More »