Greater than or less than in CL

How would I write the x >= -3 in CL script.
I tried the following:

initialLatex: “n”

ans=this.latex
check1= ans= “x>=-3”

correct: check1

check= check1
suffix: when not(this.submitted) “”
when check “:smiley:
otherwise “:x:

Well, checking latex this way is pretty brittle. Here’s a template you can use that will let you check inequalities more robustly. self-checking inequality template • Activity Builder by Desmos

For the symbol “>=” the latex for it is “\ge”.

So you would want “x\ge3”. However, if you want more flexibility for student answers, use the template Dan sent.