Curly Bracket Won't work

For some reason my curly bracket is showing an error.

05 AM

Here is a picture of the error.

33 AM

It says put “(” not “{” after “if” so I would assume you should put “(”?

1 Like

you need a test after “if”

if (some condition) {
  /* statements to execute */
}
5 Likes

That works, but it didnn’t change anything, I had to restart the app for some reason, but thanks

if statments have to be in the format
if(){
}