RGB light strip how to turn on/off with button

Hi I am new to arduio and coding. what I want to do is turn on a RGB LED strip and stay on after you push the button and have it turn off after you push the button.
this is a image of the Arduino setup

this is the code now

int val = 0;
int old_val = 0;
int state = 0
int BUTTON = 7;
int greenPin = 10;
int bluePin = 11;
int redPin = 9;

void setup(){
  pinMode(greenPin, OUTPUT);
  pinMode(bluePin, OUTPUT);
  pinMode(redPin, OUTPUT);
pinMode(BUTTON, INPUT);}

void loop(){if ()
    fadeFromTo(bluePin, greenPin);
    fadeFromTo(greenPin, redPin);
    fadeFromTo(redPin, bluePin);
}

void fadeFromTo(int from, int to){
  for(int i = 0; i < 255; i++){
    analogWrite(to, i);
    delay(5);
    analogWrite(from, 255 - i);
    delay(5);
  }
}

Open up your "examples" folder and look for the example called StateChangeDetection.

You may also want to research "debouncing", so look at the Debounce example too.

I do not know any coding and I don't know how to put two things of code together

Open the examples and start learning. Each example also has a tutorial online that explains it.