he text field and press Submit.');
  // d3.select('#query').html('Enter "<span class="bold">' + q + '</span>" into the text field and press Submit, after selecting ' + correctElement.query + '.');

  d3.select('#subbtn').on('click', function(){
    var t = d3.select('#tt')[0][0].value;
    var text_r = t === q ? 1.0 : -1.0;
    var option_r = d3.select('#ch'+correctElement.index)[0][0].checked ? 1.0 : -1.0;
    if (option_r == 1.0) {
        core.endEpisode(text_r, text_r > 0);
    } else {
        core.end