About led strip neo pixel

hi all master…i want to ask about led strip rgb neo pixel …
the treatment I gave is a button to turn on and off LEDs at once at the same time there is a pixel change …
I have done according to the existing literature … so the program becomes like this …

#include “FastLED.h”
#define NUM_LEDS 26
CRGB leds[NUM_LEDS];
#define PIN 8
int delayval = 100;

const int inputPin2 = 2; // tombol untuk LED 11
const int inputPin3 = 3;
const int inputPin4 = 4;
const int inputPin5 = 5;

int kondisiInputPin2 = 0;
int kondisiInputPin3 = 0;

int kondisiInputPin4 = 0;
int kondisiInputPin5 = 0
;

#define outputPin9 9
#define outputPin10 10
#define outputPin11 11
#define outputPin12 12

void setup()
{

pinMode(outputPin9, OUTPUT);
pinMode(outputPin10, OUTPUT);
pinMode(outputPin11, OUTPUT);
pinMode(outputPin12, OUTPUT);

pinMode(inputPin2, INPUT);
pinMode(inputPin3, INPUT);
pinMode(inputPin4, INPUT);
pinMode(inputPin5, INPUT);

FastLED.addLeds<WS2811, PIN, GRB>(leds, NUM_LEDS).setCorrection( TypicalLEDStrip );
}

// *** REPLACE FROM HERE ***
void loop() {
kondisiInputPin2 = digitalRead(inputPin2);
kondisiInputPin3 = digitalRead(inputPin3);
kondisiInputPin4 = digitalRead(inputPin4);
kondisiInputPin5 = digitalRead(inputPin5);

if (kondisiInputPin2 == HIGH) // jika tombol pin 2 ditekan
{ digitalWrite(outputPin9, 250);
//SnowSparklebiru(0x10, 0x10, 0x10, 20, random(100,1000));
}

else if (kondisiInputPin3 == HIGH) // jika tombol pin 2 ditekan
{ digitalWrite(outputPin10, 250);
// SnowSparklerem(0xff, 0, 0, 20, random(100,1000));
}
//delay(delayval);
else if (kondisiInputPin4 == HIGH) // jika tombol pin 2 ditekan
{ digitalWrite(outputPin11, 250);
// senkiri(0xff, 0, 0x8c, 8, 10, 26);
}
//delay(delayval);

else if (kondisiInputPin5 == HIGH) // jika tombol pin 2 ditekan
{ digitalWrite(outputPin12, 250);

r// senkanan(0xff, 0, 0x8c, 8, 10, 26);
}
//delay(delayval);

// if (kondisiInputPin2 == HIGH && )
//{Hazard(0xff, 0, 0x8c, 8, 10, 26);
//}

else
{digitalWrite(outputPin9, 0);
digitalWrite(outputPin10, 0);
digitalWrite(outputPin11, 0);
digitalWrite(outputPin12, 0);

//SnowSparklebiru(0, 0, 0, 0, random(0,0));
// Hazard(0, 0, 0, 0, 0, 0);
}
}

but when compiled to arduino … LED is just burning looping in the area of the void loop when it has been made restrictions with if … this is what I am confused … please help master …

thank you

regard

momon

Take a look at some of the simpler examples that come with the FastLED library. Your code does nothing.