subject

I am trying to get two checkboxes on my app to work like in the pictures This is my code right now:

function Checkboxes() {
if (getChecked("SoundCheck") && getChecked("PhoneticCheck")) {
setText("FirstBox", "Please select one box");
} else if ((getChecked("SoundCheck"))) {
setText("FirstBox", "Press GO! to learn what animals sound like");
} else if ((getChecked("PhoneticCheck"))) {
setText("FirstBox", "Press GO! to learn how to pronounce animal names");
}
}

FirstBox is the name of the textbook the descriptions are supposed to show up in
SoundCheck and PhoneticCheck are the names for the checkboxes

I am trying to get the If-Then statements to loop however I am unsure as to whether to use a for loop or a while loop as those are the only options I have to use and what to write in the code for the loop. I can clarify my question further if my explanation was not good. Help!


I am trying to get two checkboxes on my app to work like in the pictures

This is my code right no
I am trying to get two checkboxes on my app to work like in the pictures

This is my code right no
I am trying to get two checkboxes on my app to work like in the pictures

This is my code right no

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 11:00
Technician a says that the radiator usually cools better if the front air dam is removed. technician b says that when a condenser has a leak it can be repaired easily with epoxy. who is correct?
Answers: 1
question
Computers and Technology, 23.06.2019 20:00
Me ajude por favor , coloquei uma senha e não consigo tira-la no chorme
Answers: 2
question
Computers and Technology, 23.06.2019 23:30
Match the following errors with their definitions. a. #name b. #value c. #ref d. 1. when a formula produces output that is too lengthy to fit in the spreadsheet cell 2. when you enter an invalid cell reference in a formula 3. when you type text in cells that accept numeric data 4. when you type in a cell reference that doesn’t exist
Answers: 1
question
Computers and Technology, 24.06.2019 08:30
Why might you choose to create a functional resume
Answers: 1
You know the right answer?
I am trying to get two checkboxes on my app to work like in the pictures This is my code right now:...
Questions
question
Physics, 05.02.2021 21:30
question
Mathematics, 05.02.2021 21:30
question
English, 05.02.2021 21:30
question
Health, 05.02.2021 21:30
question
Spanish, 05.02.2021 21:30