Not recognizing "if"

I am new to programing Arduino, but work with Mazatrol/ CNC so I have some knowledge.
No matter how I try my program will not recognize the "if", doesn't change to orange. I have tried copy and past code from Arduino site but nothing seems to work. Does anyone have any suggestions.

Code colouring is eye-candy - it makes no difference to your code.

You mean it will use the command even if not "orange". I was going crazy, thinking I did something wrong.
Thank you for help.

Trump is orange, yet does nothing useful.

LOL!!

GrooveFlotilla:
Trump is orange, yet does nothing useful.

Boris Johnson is probably "blue" .....

...R