Sorry for the double, I’m new here and didn’t know how to share my formatted code. I figured it and posted a newer thread that reads better.
Hey!
Your syntax for the if…else statement is wrong.
The correct syntax for ‘if… else’ should be something like.
if(conditionIsTrue){
doSomething();
} else {
doSomethingElse();
}
In your code you’ve forgotten to add an ‘{’ to the end of else.
Try fixing that!
Thanks for the reply, but that wasn’t it.