Checkboxes and If Else Statements

My students are having difficulty working with checkboxes in a math app they are designing. I started a similar app to try to figure it out myself, but I am stuck too. The link is below:

How can I code it, so that if checkboxes 1, 2, and 3 are all checked it goes to the Question2Screen, but if anything else is checked, it goes to the WelcomeScreen?

Thank you!!

If you want all three boxes to be checked to go to the Question2Screen, you should change the || to &&.

if (getChecked(“checkbox1”) && (getChecked(“checkbox2”) && getChecked(“checkbox3”))) {

Thank you. It finally works! :slight_smile: I am so appreciative that you took the time to read my question and provide feedback.