This screen worked until recently, and now I get an error that says
“Syntax error: toplevel declarations must be variable or sink assignments”
The exclamation mark with the error shows up right next to my first “when” statement. When I remove the text I want it to return it moves to the second “when” statement. If I remove that return text too it moves to my last line as says "Unexpected token “$”
I’m so confused what changed that is making this no longer work. All I want is to have the kids know if they picked the right MC answer. HELP!
#These are the variables for the choice options.
directions="A system of inequalities is shown. From the given points, select the point that is a solution to this system of inequalities:
#THIS IS THE CORRECT ANSWER.
when choice.submitted and correct " Correct "
#THESE ARE THE INCORRECT POSSIBILITIES
when choice.submitted and not© " Try again "
#This displays the direction.