Issue with Curly Brackets?

I had to write a code for two LEDs where one is blinking at a time and the blink speed can be increased by pressing switch A and decreased by pressing switch B. Switch C controls which of the two lights are blinking. I wanted to code to be more responsive so I put a low delay on and had the LED turn off every time the code had reached the threshold of loops. Would anyone care to revise my code? I may have an issue with my curly brackets. Also, be warned: my line spacing may be atrocious. Thanks!

int switchPinA = 10;
int switchPinB = 11;
int switchPinC = 12;
int LEDPinA = 13;
int LEDPinB = 9;
int counter = 10;
int loopCount = 10;
int LEDPower = 1;
int LEDToggle = 1;
int blinkState = HIGH;
int threshold = 10;

void setup() {
 // put your setup code here, to run once:
Serial.begin(9600);
pinMode(switchPinA, INPUT);
pinMode(switchPinB, INPUT);
pinMode(switchPinC, INPUT);
pinMode(LEDPinA, OUTPUT);
pinMode(LEDPinB, OUTPUT);

}

void loop() 
{
 // put your main code here, to run repeatedly:

 // controls the switches:
 if (digitalRead(switchPinA) == LOW)
 {
   threshold = threshold - 1;
 }
 if (digitalRead(switchPinB) == LOW)
 {
   threshold = threshold + 1;
 }
   
 if (digitalRead(switchPinC) == LOW)
 {
   if (LEDToggle == 1)
   {
     LEDToggle = 2;
   }
   else
   {
     LEDToggle = 1;
   }
 }
 //controls the blinking
 if (loopCount == threshold)
 {
  loopCount = 0;
  if (LEDToggle == 1) // If light to blink is PIN A
  {
     digitalWrite(LEDPinB, LOW);
   // if pinA was low, make it high; otherwise make it low.
    if (blinkState == HIGH)
    {
      blinkState = LOW;
      digitalWrite(LEDPinA, LOW);
     
    }
    else
    {
      blinkState = HIGH;
      digitalWrite(LEDPinA, HIGH);
    }
     
    }
  else // then light to blink is PIN B.
    {
    if (blinkState == HIGH)
    {
      blinkState = LOW;
      digitalWrite(LEDPinB, LOW);
    }
    else
    {
      blinkState = HIGH;
      digitalWrite(LEDPinB, HIGH);
    }
  }
}
 
loopCount = loopCount + 1;
delay(10);
}

Moderator edit:
</mark> <mark>[code]</mark> <mark>

</mark> <mark>[/code]</mark> <mark>
tags added.

Hi, welcome to the forum.

This is your first post, but you know how to program the real worl into code lines. Do you have your own way to write code ? Because it is confusing when you mix different text layout styles. Please use brackets and indents in the same way. In the menu is a text-auto-format function, start with that.

10ms delay makes the loop run at almost 100Hz. That should be fast enough to respond to a button.

A faster change is possible when the value is increased with a step of 2 or more, instead of just 1.
I think that requires to rewrite your program flow, and I do not fully understand it yet.

If you want to advance your Arduino skills, you can use millis().
With millis() it is possible to create software timers and software delay without the use of delay(). The ideal is that the loop() runs at maximum speed, and millis() is checked every time to see if something needs to be done.
With millis() it is easy to seperate things. The blinking of the leds can be seperated from the processing of the buttons. That gives far more control over the increase and decrease of the blink rate.

The processing of the buttons can be code as you have now, but it can also be a state machine. If you want to do more fancy things with the buttons, then a state machine would be appropriate.