+ ${trial.include_counter ? trial.get_counter_text(trial.stimuli.length) : ""}
+
`;
+
+ // container for the boxes
+ let box_grid_html = `
+ `;
+
+ // create boxes for each stimulus
+ for (let i = 0; i < trial.stimuli.length; i++) {
+ box_grid_html += `
+
`;
+ }
+ box_grid_html += "
";
+
+ // prompt text (and counter if included)
+ const prompt_counter_html = `
+