Log answer doesn't work

I am trying to auto check a logarithm problem. Why doesn’t this work? (in math input)

check1=this.latex = \frac{1}{2}(2\ln x-3\ln y)
suffix: when button1.timeSincePress()>0 (when check1 ":white_check_mark:"otherwise “:x:”) otherwise “”

Your parentheses need coding too:
check1=this.latex = \frac{1}{2}\left(2\ln x-3\ln y\right)

Helpful tip - type into a Desmos calculator what you want and then copy and paste it into the coding. You won’t have to memorize how to type it out anymore!