 with "<span class="bold">' + f + '</span>".');
    // d3.select('#query').html('Enter an item that starts with "<span class="bold">' + f + '</span>", after clicking button ONE, then clicking button TWO.');
  }

  d3.select('#subbtn').on('click', function(){
    var entered = d3.select('#tags')[0][0].value;
    var ff = entered.startsWith(f);
    var ee = entered.endsWith(e);
    var correct = ff & (ee || !match_end);
    var r = correct ? 1.0 : -1.0;
    console.log('use-autocomplete', r);
    if (task_sta