#javascript #javascript conditionals if, else if, else We use if, else if, else when we want to do something when a certain condition is met. grammar if ( condition1 ) { statement1 } Executes statement1 if condition1 is met. if ( condition1 ) { statement1 } else { statement2 } Executes statement1 if condition1 is met, otherwise executes statement2. if ( condition1 ) { statement1 } else if ( cond..