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 12:10
Linux is distributed under gnu gpl. why is this important? a. it ensures that only torvalds can profit from the sale of linux b. it prevents unknowledgeable users from downloading programs they don't know how to operate. c. it provides protection for the developers who created linux. d. it states that anyone can copy, modify, and share the program if changes are made public.
Answers: 1
question
Computers and Technology, 22.06.2019 19:20
1)consider the following code snippet: #ifndef book_h#define book_hconst double max_cost = 1000.0; class book{public: book(); book(double new_cost); void set_cost(double new_cost); double get_cost() const; private: double cost; }; double calculate_terms(book bk); #endifwhich of the following is correct? a)the header file is correct as given.b)the definition of max_cost should be removed since header files should not contain constants.c)the definition of book should be removed since header files should not contain class definitions.d)the body of the calculate_terms function should be added to the header file.
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
Which of these is an example of an integrated presentation? a. a table created in powerpoint b. an image pasted into powerpoint c. a caption created in powerpoint d. an excel chart pasted into powerpoint
Answers: 1
question
Computers and Technology, 23.06.2019 22:30
The output voltage of a power supply is assumed to be normally distributed. sixteen observations are taken at random on voltage are as follows: 10.35, 9.30, 10.00, 9.96, 11.65, 12.00, 11.25, 9.58, 11.54, 9.95, 10.28, 8.37, 10.44, 9.25, 9.38, and 10.85
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
Questions on the website: 13722361