Loop within STACK question in moodle using jsxgraph
问题 I am trying to create a moodle-STACK question with an interactive element via jsxgraph . Within the [[jsxgraph]] ... [[/jsxgraph]] tags, I am plotting a curve with two databases, each with 6 elements. Since I would like students to add error bars for both scales, I added a loop within the jsxgraph-element : var plot = function() { var j, xr0, yr0, xr1, yr1, xr2, yr2, err1, err2; board.suspendUpdate(); for (j=0; j<6;j++) { const v1 = Number(input1.Value()); const v2 = Number(input2.Value());