Either you use:
```
if condition1 {
  ...
} else if condition2
  ...;
```
or
```
if condition1
{
  ...
}
else if condition2
  ...;

... but not a mix of both.