I am making an app where:
The user writes inputs in a text box a question and the answer that goes with it. Then the user adds it to a list. When they click choose random (button), it displays a random question.
I’d like the user to be able to click a button called Display Answer that displays the answer that goes with the question.
I have the question part working, so the user can add a bunch of questions and the app will chose a random one.
I’m unsure about the part where the answer that goes with the random question shows.