I need to ask a question and answer form, basically, as follows:
- It should allow to add several questions, each with at least 2 answers, where one of them should be marked as correct;
- Delete answers and questions, when deleting a question the answers should be deleted.
- Allow both questions and answers to be edited at any time;
I thought of doing the following: When the user wants to add a new question, will have a button that when it clicks, adds a new form, and there, the question and answers are created. And inside the form, next to the input, another button that when clicked, adds a new answer option.
I need to do Angular. I would like to know how I make this button layout
Thank you in advance!