This implements a way to give feedback specific to a student answer, but only if you can predict what answer you want to give feedback for, and that answer is a decimal-formatted number. Importantly, any algebraic, fraction, or irrational number wouldn’t be a valid target for feedback - which drastically limits the usefulness. As mentioned, this is mostly just a proof of concept about how feedback conditional to student’s answer might be implemented.

Testing new feedback mechanism. The correct answer is . But try typing in 4 or first for targeted feedback example. This is to demonstrate that you can use some irrational constants, but keep in mind that they are javascript coded, not latex coded. See tex file for more detail. This validator currently only works with numeric values, and even then only kinda.
.
2024-06-24 13:18:36