if(condition1){// block of code to be executed if condition1 is true}elseif(condition2){// block of code to be executed if the condition1 is false and condition2 is true}else{// block of code to be executed if the condition1 is false and condition2 is false}
Good job. FYI the syntax is
else if
, notif else
thanks man I appreciate it, like I said n00b lol