Error when upload to Arduino

Hello i have this code and i want your help.Can you help me please?

it says 'turnNone' was not declared in this scope

int const pwm_drive = 6;  
int const dir_drive = 7;  
int const pwm_steer = 5;  
int const dir_steer = 4;  
int const White_pin_right = 2; 
int const White_pin_left = 8;  
int const Red_pin_right = 12; 
int const Red_pin_left = 10;   



void setup() {
  pinMode(White_pin_right, OUTPUT); 
  pinMode(White_pin_left, OUTPUT);  
  pinMode(Red_pin_right, OUTPUT);  
  pinMode(Red_pin_left, OUTPUT);  
  pinMode(pwm_drive, OUTPUT);  
  pinMode(pwm_steer, OUTPUT);  
  pinMode(dir_drive, OUTPUT);  
  pinMode(dir_steer, OUTPUT);  
  
  turnNone(); 
  moveNone(); 

 Serial.begin(9600); 

 void loop() {

  // see if there's incoming serial data:
  if (Serial.available() > 0) {
    // read the oldest byte in the serial buffer:
    int incomingByte = Serial.read();
    // action depending on the instruction
    // as well as sending a confirmation back to the app
    switch (incomingByte) {
      case 'F':
        moveForward();
        Serial.println("Going forward");
        break;
      case 'R':
        turnRight();
        Serial.println("Turning right");
        break;
      case 'L':
        turnLeft();
        Serial.println("Turning left");
        break;
      case 'G':
       forwardLeft();
       Serial.println("Turning forwardleft");
       break;
      case 'I':
       forwardRight();
       Serial.println("Turning forwardRight");
       break;
      case 'W':
       FrontLightsOn();
       Serial.println("Front Lights On");
       break;
      case 'w':
       FrontLightsOff();
       Serial.println("Front Lights off");
       break;
      case 'U':
       BackLightsOn();
       Serial.println("Back Lights On");
       break;
      case 'u':
       BackLightsOff();
       Serial.println("Back Lights Off");
       break;
      case 'J':
       BackwardRight();
       Serial.println("Turning BackwardRight");
       break;
      case 'H':
       BackwardLeft();
       Serial.println("Turning BackwardLeft");
       break;
      case 'B':
       moveBackward();
       Serial.println("Going backwards");
       break;
      case 'N':
       turnNone();
       Serial.println("Turning centered");
       break;
      case 'X':
       AlarmLightson();
       Serial.println("Alarm ON");
       break;
      case 'x':
       AlarmLightsoff();
       Serial.println("Alarm OFF");
       break;
      case 'S':
       moveNone();
       Serial.println("Stopping");
       break;
       default: 
        // if nothing matches, do nothing
        break;
     }
  }
}


void AlarmLightson() {
     digitalWrite(White_pin_right, HIGH);
     digitalWrite(White_pin_left, HIGH);
     delay(2000);
     digitalWrite(Red_pin_right, HIGH);
     digitalWrite(Red_pin_left, HIGH);
     delay(2000);
     
]
void AlarmLightsoff() {
     digitalWrite(White_pin_right, LOW);
     digitalWrite(Red_pin_right, LOW);
     digitalWrite(White_pin_left, LOW);
     digitalWrite(Red_pin_left, LOW);
     
}

 void moveForward() {
    // turn the driving motor on to go forwards at set speed
    digitalWrite(dir_drive, HIGH);
    analogWrite(pwm_drive, 255);
    
    
}

void moveBackward() {
    // turn the driving motor on to go backwards at set speed
    digitalWrite(dir_drive, LOW);
    analogWrite(pwm_drive, 255);
    
}

void moveNone() {
    // turn the driving motor off
    digitalWrite(dir_drive, 0);
    analogWrite(pwm_drive, 0);
    digitalWrite(dir_steer, 0);
    analogWrite(pwm_steer, 0);
    
}

void turnRight() {
    // slam it to the right
    digitalWrite(dir_steer, HIGH);
    analogWrite(pwm_steer, 255);
    
}


void FrontLightsOn() {
     // Turn on the Front Lights
     digitalWrite(White_pin_right, HIGH);
     digitalWrite(White_pin_left, HIGH);
    
}

void FrontLightsOff() {
     // Turn off the Front Lights
     digitalWrite(White_pin_right, LOW);
     digitalWrite(White_pin_left, LOW);
     
}

void BackLightsOn() {
     // Turn on Back Lights
     digitalWrite(Red_pin_right, HIGH);
     digitalWrite(Red_pin_left, HIGH);
}

void BackLightsOff() {
     // Turn off Back Lights
     digitalWrite(Red_pin_right, LOW);
     digitalWrite(Red_pin_left, LOW);
}

void forwardLeft() {
  //turning forwardLeft
    digitalWrite(dir_drive, HIGH);
    analogWrite(pwm_drive, 255);
    digitalWrite(dir_steer, LOW);
    analogWrite(pwm_steer, 255);
}

void forwardRight() {
  //turning forwardRight
    digitalWrite(dir_drive, HIGH);
    analogWrite(pwm_drive, 255);
    digitalWrite(dir_steer, HIGH);
    analogWrite(pwm_steer, 255);
}

void BackwardRight() {
  //turning BackwardRight
    digitalWrite(dir_drive, LOW);
    analogWrite(pwm_drive, 255);
    digitalWrite(dir_steer, HIGH);
    analogWrite(pwm_steer, 255);
}

void BackwardLeft() {
  //turning BackwardLeft
    digitalWrite(dir_drive, LOW);
    analogWrite(pwm_drive, 255);
    digitalWrite(dir_steer, LOW);
    analogWrite(pwm_steer, 255);
}

void turnLeft() {
    // slam it to the left
    digitalWrite(dir_steer, LOW);
    analogWrite(pwm_steer, 255);
    
}

void turnNone() {
    // turn steering motor off - spring centering takes effect
    digitalWrite(dir_steer, LOW);
    analogWrite(pwm_steer, 0);
}
void AlarmLightson() {
     digitalWrite(White_pin_right, HIGH);
     digitalWrite(White_pin_left, HIGH);
     delay(2000);
     digitalWrite(Red_pin_right, HIGH);
     digitalWrite(Red_pin_left, HIGH);
     delay(2000);
     
]

What the heck is that square bracket doing there?

Why is loop() embedded in setup()?

PaulS: void AlarmLightson() {     digitalWrite(White_pin_right, HIGH);     digitalWrite(White_pin_left, HIGH);     delay(2000);     digitalWrite(Red_pin_right, HIGH);     digitalWrite(Red_pin_left, HIGH);     delay(2000);     ]

What the heck is that square bracket doing there?

Why is loop() embedded in setup()?

I change the ] with } but the problem remains.

but the problem remains.

The problem that loop() is embedded in setup()? Why would THAT remain?

setup() has no closing brace.

PaulS: The problem that loop() is embedded in setup()? Why would THAT remain?

I don't understand what you can say.if you see problem with the code could you modify it? i am newbie with programming.Thanks for your help, i appreciated it.

Thank you all for your help.I solve the problem.I forgot to close the brace in void setup

I don't understand what you can say.

Yet you wrote a whole bunch of code hoping everything was right. Wrong.

if you see problem with the code could you modify it?

I could. So could you. One function (loop()) can not be defined between the starting { and ending } of another function.