App Lab coding question

#1

My students are creating a digital breakout using the App Lab. Some want to use text as one of the locks. They are wondering how they can have their app recognize text input when it is correct, and then go to another screen. We know how to link screens, but not how to incorporate the appropriate if-then code using text.

#2

Molly,

You’ll want to create a variable to assign the userInput to and then check that variable against the answer in an if/else conditional. Check out the project below for an example.

Hope that helps, sounds like a great idea!
Brad