rookie problems?

hi im new to Arduino and new to coding i have a uno which im trying to control a ws2812b led strip with i am trying to do a chase effect where the leds go blue red green then off i have got as far as the green but every time i try to add the off random things seem to happen im posting the program i have tried to write im not sure if its my clunky code that is the issue this is in its working state with the problem (and some redundant code ) commented out

led_flash_9_green.ino (732 Bytes)

ok little update its the ";" on line 30 i've been chasing that for 3 nights :frowning: now scrolls like i want it to