if, elseif, else statements html code example
Example: IF else statement
var age=20;
if (age < 18) {
console.log("underage");
} else {
console.log("let em in!");
}
var age=20;
if (age < 18) {
console.log("underage");
} else {
console.log("let em in!");
}