Checking for graph correctness from a line with a fraction slope

How do I get my code to work if I want my value of m to be -5/6

content:when graph1.number(“m”)=-5/6 and graph1.number(“b”)=5 “correct!”
otherwise “Not yet, drag the points to create the line.”

Does it work if you type graph1.number(“m”)=-\frac{5}{6} ?

It did not work. I am very new to coding so than you for your help.

This is my activity: Checking for Correctness on a Graph* • Activity Builder by Desmos.

You could try something like this…

1 Like

WOW! This is exactly what I wanted to do. Thank you!