This tasks explains how to create a trivial interactive exercise in source form and see it in the exercise system.
mini-exercise inside the file first.oqmathCMP element but before </exercise>interaction element
<, i, n, then space, then add the id attribute, e.g. id="mini-entry", then type >feedback with a CMP element in a next line: <feedback><CMP>The exercise will just ask for a number to be input in the box:$id("numberInput",x)$ which just puts the term with the sole term made by the variable x along with an id for itCMP and feedback elements (type twice < followed by /)we now declare that the variable x should be an input-zone by adding, after the feedback element, the interaction_map that indicates that this id should be replaced by a blank: <interaction_map> <blank for="numberInput"/> </interaction_map>
answer_map elementdefault child of it pointing to an interaction that is still to be made, for example, type <default xref="mini-exo-always-finishes">diagnosis indicating the score thus performed: <diagnosis><achievement value="1.0"/>default and answer_map elementsnow create the final interaction, for example with the following code to be put after the answer_map.
<interaction id="mini-exo-always-finishes">
<feedback><CMP>Fantastic, we're already through.</CMP></feedback>
</interaction>
save and correct any validation errors
open the Ant Farm tab on the left of jEditOQMath, select the build file of the collection you are running, click the running man, and wait that “BUILD SUCCESSFUL” appears in the console below