I am trying to allow students to know if they got their answer correct. How do I write code for -90 7/8?

check= this.numericValue=-90,latex=/frac{7}{8}
correct: check
suffix: when not(this.submitted) “”
when check “:white_check_mark:
otherwise “:x:

To validate a mixed number, it’s probably best to use a pattern matching approach. Here is an example: pattern to check mixed number • Activity Builder by Desmos Classroom

2 Likes