I am wanting to have my table check the answer the students give in column 2 of each table. They are going to be solving the equations and would like for them to receive feedback on each question rather than waiting to answer all of the questions in order to know if they are correct.
I didn’t look at your code, but something like:
cellContent(1,3): when this.cellNumericValue(1,2)=5 "Correct!" otherwise "Try Again"
where 5 is the correct answer.
Is there a way to have the box stay empty until the student enters an answer and then tells them to try again or that the answer is correct?
My way of achieving this is by using an action button. Student’s don’t get instant feedback but it is a way to keep the box blank before they check. I added an example from one of my activities.
cellContent(1,3): when isBlank(this.cellContent(1,2)) or this.cellHasFocus(1,2) "" when this.cellNumericValue(1,2)=5 "Correct!" otherwise "Try Again"
Haven’t played with cellFocus much. I need to look into it.
I sometimes prefer students press the button to get feedback, but I’ve recently started using this code. They have to hit enter or exit the cell to see feedback, and negative feedback doesn’t show while they’re putting something new in if fixing an answer.