How can I build a quize like this?

Hi @arthurvalatin : Its a long time but….I just saw the conversation an saw that you might have a solution to my idea. What I want to do is something like the following (I think its similar to the one you have the code, right?

Or do you have a good idea how to solve something like this?