if someone can help with this code

hello guys! i have this code below example

int whiteled=12;

int redled=11;

int brightness=255;
String colorchoice;

void setup(){
Serial.begin(9600);
pinMode(whiteled, OUTPUT);
pinMode(redled, OUTPUT);

}
void loop (){
Serial.println(" WHAT COLOR DO YOU WANT TO LIGHT ON ");
while(Serial.available()==0){}
colorchoice = Serial.readString();

if (colorchoice=="white"){
analogWrite(redled, 0);
analogWrite(whiteled, brightness);

}

if (colorchoice=="red"){
analogWrite(whiteled, 0);
analogWrite(redled, brightness);

}
if (colorchoice!="red" && colorchoice!="white" )
{
Serial.println(" YOU HAVE PUT INVALAIBLE COLOR CHOICE,PLEASE TRY AGAIN,(white or red) ");
Serial.println(" ");
}
}

my question is i wanted to add this code that
if it prompts for 1st colorchoice example , i choose= red ,and if prompt me the second timei choose= ? and it just tell me the colorchoice that i just did choose before i write the =?
meaning i want the question mark to remind me the colorchoice that i just used .
thanks guys

# int whiteled=12;oops

First put right the problem that AWOL pointed out.

my question is i wanted to add this code that
if it prompts for 1st colorchoice example , i choose= red ,and if prompt me the second timei choose= ? and it just tell me the colorchoice that i just did choose before i write the =?
meaning i want the question mark to remind me the colorchoice that i just used .

Before you prompt for a new colour choice save the existing one in a new variable. Then, when you get a new colour choice of "?" you can print the value that you saved.

thanks , but i just new in coding reason why i asked for help because i tried but still does not work.will you mind to write what you meant ? UKHeliBob

i tried but still does not work

Post what you wrote so we can see the problem.