Question text

Correct answer

Feedback text

This page shows how to integrate Wiris Quizzes within a JavaScript platform using Wiris Quizzes Studio. In this authoring stage, in addition to Level 2 features, Wiris Quizzes Studio contains a new tab where the author can define an algorithm in order to generate output variables. The question text, the correct answer and the feedback can contain placeholders that will be replaced by the matching variables. The notation for placeholders is #a for a variable named a. In this level the author can also produce a custom feedback using the values of the variables and the student's answer. The value of the student's answer can be used within the algorithm, defining the parameter answer and treating it as another variable.

This example is the Level 3 one. Check the Level 1 and Level 2 examples to find simpler integrations.