Struggling with math quiz game

Hi everyone,

First time poster here. I'm trying to help a student who is coding a math quiz app. We have initialized two lists, one is for math equations/questions, the other is for answers. We are trying to figure a way to validate if the answer the end user types into the text box matches the answer from our second list, but obviously we need to also confirm that it matches the index number of the question list. Can anyone help us with this? How do we confirm that the text box text, and the Q and A options from each list all match up?

Welcome!
To create a quiz is one of our frequently asked questions here in this community...
what about trying a search first?
https://community.appinventor.mit.edu/search?q=quiz

see also App Inventor Tutorials and Examples: Advanced Features | Pura Vida Apps

Taifun

Also see

https://appinventor.mit.edu/explore/ai2/quizme

and

http://www.appinventor.org/bookChapters/chapter10.pdf

1 Like

(added to new FAQ)

1 Like