Restarting Quiz App

Good day.
I am creating a quiz app and I followed this tutorial https://www.youtube.com/watch?v=4d1ofZlbZy4 in creating the blocks. However, I am not sure what block must be used so that when the user finished answering the quiz and navigated to the scoresheet, and they want to try the quiz again, the question no.1 will be shown again. In this block, when the user click on the quiz again, only the last item of the quiz is shown.
Here are the screenshots of the blocks used.





Thank you so much for your assistance!

It looks like app variable assessment1 contains the question number. If that’s correct, then you need to set app variable assessment1 to 1 when the first screen opens. You are initializing that variable to 1 (see last screenshot above) which doesn’t do the same thing.

If that doesn’t solve it, post a link to your project.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.