Quiz with entering text and showing what user put in
I have 4 buttons (1, 2, 3, 4), each of which, when clicked, opens a layer in which there is a question and 5 fields, in which you must enter any response in the form of text, also in this layer there is a button "accept", which saves the entered text. These 4 buttons are shown again and in each button, when hovering, the beginning of the sentences that the user entered into the response fields is shown. The quiz is considered passed correctly if in each layer at least 3 fields were filled. I need an idea how to implement this. Do we need to make these layers as separate slides?