Correct Answer using the Text Input

Is it possible to create a code for correctness using the Text Input rather than the Math Input?

It is not possible. You’re best alternative is to use a table.