Checking table contents in Teacher Dashboard

I have a table shown below that I want students to type the domain and range into and then have the teacher dashboard mark it with a check if it is correct. Her is my code so far. I am a new CL user so I definitely need some help.

correct:
(this.cellContent(2,2) = “[-1,1]” and this.cellContent(2,3) = “[-pi/2, pi/2]”) and
(this.cellContent(3,2) = “[-1,1]” and this.cellContent(3,3) = “[0,pi]”)

Try using backticks instead of quotation marks. That will convert it to latex, which should turn ‘pi’ into the symbol instead of trying to match the text.