if and else error

so here is my code

int red = 9;

void setup() {
  pinMode(9, OUTPUT);

}

void loop() {
 
 if(red==1); {
  delay(75);
  digitalWrite(red, 0);
 }  else {
  delay(75);
  digitalWrite(red, 1);
 }
 digitalWrite(red, 1);
}

and my board is arduino uno r3 and my port is COM3

so when I verify/compile it it gives me an error

'else' without a previous if

please tell me if I did something wrong with either my code or if something is just odd

if(red==1);

Need to delete the semicolon.

What he said. "ELSE without a previous IF", because you ended the IF prematurely with the semicolon.

What would set "red" to be equal to 1?

It might be a good idea to review the Arduino Blink example.

Ha! Good question.