AI Model App help

My students have created this app. When they are on the screen where they make their choices and click the continue button, nothing happens. They added an on event button for the click and put the if loops inside that.
It should change the screen to the option chosen (fishing, swimming, sports, ), but it just stays on that screen when you make your choices.
We can’t figure out why the app will not work.
Any suggestions appreciated.

Thanks!
Stephanie Hodgson

The way it is written now, lines 20, 23, & 26 are all asking if the “value” is fishing, sports, or swimming, but none of those are choices in the dropdown questions. This means that when button 3 is clicked it doesn’t know where to go because none of the values are available. I hope that makes sense.

Hi @stephanie.hodgson,

Perhaps you have been working on this but here is what I see at this point. I am not as familiar with the getPrediction function BUT…what I think is missing is finishing the onEvent to your button6 so that it setScreen to screen1. when I did that and made different choices, all seem to work.

Good luck!
~Michelle