error: expected unqualified-id before 'else'

hey so i have been using tinkercad to make my code but i keep getting this error: expected unqualified-id before ‘else’
on my line 4:1,5:1 and 6:1 but nothing is their. I have moved my code down and the error is still on 4,5 and 6. i have also deleted that space and tried but nothing changed.

(Next post, please use code tags, </> on the menu. Thanks - Moderator)

//UltraSonic Sensor & light Sensor w/ Motor
//Updated 5/04/2020

//Variable Declaration
int lightPin = 0;
int lightPin1 = A1;
int lightPin2 = A2;
int lightPin3 = A3;
int LEDPin = 7 ;
int LEDPin1 = 8 ;
int LEDPin2 = 12;
int LEDPin3 = 13;

int echo1 = 10; //Echo1
int trig1 = 11; //Trigger1
int echo2 = 6;  //Echo2
int trig2 = 9; //Trigger2

long duration1;
float distance1; //Left
int safetyDistance;
long duration2;
float distance2; //Right

float range = 30; //Determines when the object should turn. Changable for testing

//int motor1On = 13; //motor1
int outPut1a = 2;
int outPut1b = 4;

//int motor2On = 12;  //motor2
int outPut2a = 5;
int outPut2b = 3;

void setup() {
        //LED 
 pinMode(LEDPin, OUTPUT);
pinMode(LEDPin1, OUTPUT);
pinMode(LEDPin2, OUTPUT);
pinMode(LEDPin3, OUTPUT);

   // pinMode(motor1On, OUTPUT);
 pinMode(outPut1a, INPUT);
 pinMode(outPut1b, INPUT);
 
   // pinMode(motor2On, OUTPUT);
 pinMode(outPut2a, INPUT);
 pinMode(outPut2b, INPUT);
 
   // UltraSonic Sensor
 pinMode(echo1, INPUT);
 pinMode(trig1, OUTPUT);
 pinMode(echo2, INPUT);
 pinMode(echo2, OUTPUT);
 
 Serial.begin(9600);

}

void loop() {
  int lightLevel = analogRead(lightPin); 
 lightLevel = map(lightLevel, 200, 900, 0, 255); // adjusting the value 200 to 900 and 0 to 255
 lightLevel = constrain(lightLevel, 0, 255); // do not go over 255
  
 Serial.println(lightLevel);

 int lightLevel1 = analogRead(lightPin1); 
 lightLevel1 = map(lightLevel1, 200, 900, 0, 255); // adjusting the value 0 to 900 and 0 to 255
 lightLevel1 = constrain(lightLevel1, 0, 255); // do not go over 255
  
 Serial.println(lightLevel1);

 int lightLevel2 = analogRead(lightPin2); 
 lightLevel2 = map(lightLevel2, 200, 900, 0, 255); // adjusting the value 0 to 900 and 0 to 255
 lightLevel2 = constrain(lightLevel2, 0, 255); // do not go over 255
  
 Serial.println(lightLevel2);
 
 int lightLevel3 = analogRead(lightPin3); 
 lightLevel3 = map(lightLevel2, 200, 900, 0, 255); // adjusting the value 0 to 900 and 0 to 255
 lightLevel3 = constrain(lightLevel3, 0, 255); // do not go over 255
 
 Serial.println(lightLevel3);
 
bool A = distance1 <= range && distance2 > range; 
bool B = distance1 <= range && distance2 <= range;
bool C = distance1 <= range && distance2 > range;
bool D = distance2 <= range && distance1 > range;
bool E = lightLevel >= lightLevel1 && lightLevel >= lightLevel2 && lightLevel > lightLevel3;  
bool F = lightLevel1 > lightLevel && lightLevel1 >= lightLevel2 && lightLevel1 >= lightLevel3;
bool G = lightLevel2 > lightLevel && lightLevel2 > lightLevel && lightLevel2 >= lightLevel3;
bool H = lightLevel3 >= lightLevel && lightLevel3 > lightLevel && lightLevel3 > lightLevel2;
bool S = lightLevel >= lightLevel1 && lightLevel >= lightLevel2 && lightLevel >= lightLevel3; 
  
 digitalWrite(trig1, LOW);
 delayMicroseconds(2);
 digitalWrite(trig1, HIGH);
 delayMicroseconds(10);
 digitalWrite(trig1, LOW);
 duration1 = pulseIn(echo1, HIGH);
 
 digitalWrite(trig2, LOW);
 delayMicroseconds(2);
 digitalWrite(trig2, HIGH);
 delayMicroseconds(10);
 digitalWrite(trig2, LOW);

 duration2 = pulseIn(echo2, HIGH);
 
  distance1 = (duration1 * 0.0133 /2 );
 distance2 = (duration2 * 0.0133 /2 );
 
 //go forward 
 if ( E && A ){
  go_forward();
}
 //avoid going left 
 else if ( E && D ) {
   avoid_going_left();
 }
 //avoid going right
 else if ( E && C ) {
   avoid_going_right();
 }
 //turn around 
 else if ( E && B ) {
   turn_around();
 }
 //go left 
 else if ( F ) { 
   go_left();
 }
 //go right 
 else if ( G ) {
   go_right();
 }
//turn around 2
 else if ( H ) {
   turn_around_2();
 }
 //stop
 else if ( S ) {    
   stop();
 }
 else {
 }
}
 // Subroutines*************************************************

//go forward Subroutine
void go_forward(){

   digitalWrite(outPut1a, HIGH);
   digitalWrite(outPut1b, LOW);
   
    digitalWrite(outPut2a, HIGH);
   digitalWrite(outPut2b, LOW);
}  

//avoid going left
void avoid_going_left(){

   digitalWrite(outPut1a, LOW);
   digitalWrite(outPut1b, HIGH);
   
   digitalWrite(outPut2a, HIGH);
   digitalWrite(outPut2b, LOW);
} 

//avoid going right Subroutine
void avoid_going_right(){

   digitalWrite(outPut1a, HIGH);
   digitalWrite(outPut1b, LOW);
   
   digitalWrite(outPut2a, LOW);
   digitalWrite(outPut2b, HIGH);
}  

//go turn around 
void turn_around(){

   digitalWrite(outPut1a, LOW);
   digitalWrite(outPut1b, HIGH);
   
   digitalWrite(outPut2a, HIGH);
   digitalWrite(outPut2b, LOW);
}  

//go left Subroutine
void go_left(){

   digitalWrite(outPut1a, LOW);
   digitalWrite(outPut1b, HIGH);
   
   digitalWrite(outPut2a, HIGH);
   digitalWrite(outPut2b, LOW);
}  

//go right Subroutine
void go_right(){

   digitalWrite(outPut1a, HIGH);
   digitalWrite(outPut1b, LOW);
   
   digitalWrite(outPut2a, LOW);
   digitalWrite(outPut2b, HIGH);
}  

//turn around 2 Subroutine
void turn_around_2(){

   digitalWrite(outPut1a, LOW);
   digitalWrite(outPut1b, HIGH);
   
   digitalWrite(outPut2a, HIGH);
   digitalWrite(outPut2b, LOW);
}  

//stop Subroutine
void  stop(){
digitalWrite(outPut1a, LOW);
   digitalWrite(outPut1b, LOW);
   
   digitalWrite(outPut2a, LOW);
   digitalWrite(outPut2b, LOW);
}

You should post your code using code tags.

delayMicroseconds(2);

That is too short, needs to be min of 4 and multiples of 4.
Won't stop it from compiling tho.

I tried it with IDE 1.8.9 for an Uno, compiles ok.

CrossRoads:
delayMicroseconds(2);

That is too short, needs to be min of 4 and multiples of 4.
Won't stop it from compiling tho.

I tried it with IDE 1.8.9 for an Uno, compiles ok.

Compiled for me as well.