we have a kind of survey program, written in typescript which requests data(json-list) from an API and renders the json into an HTML table.
E.g. there are 10 pairs of products in this list and it shall show one pair after another, after the user had made its choice.
there are 2 issues with that program:
a) it shows only image of first set of products (after second choice old image remain)
b) we need a simple hierarchy how the user can make its choice
ba) 1st: either select left or right product,
bb) 2nd, would you buy this choice?
where bb) may only be activated after ba) had been clicked.
code hosetd in a git repo.