Computers and Technology

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

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 02:00, floydsidney1119
Think about some of the most memorable and forgettable games ever created. they can be games that were discussed in this unit or otherwise. what are some of the consistent factors that made certain games memorable to you? what were some of the consistent factors that made certain games forgettable to you? why? explain.
Answers: 1
image
Computers and Technology, 22.06.2019 16:50, Tyrant4life
Consider a slotted aloha system, where the time slot equals the fixed duration of each packet. assume that there are 4 stations a, b,c, d sharing the medium. (a) stations a, b,c, d receive one packet each from higher layers at times 1.3, 1.5, 2.6,5.7 respectively. show which transmissions take place when, according to the slottedaloha protocol; describe all transmissions until all four packets have been successful. when needed, each station has access to the following sequence of random number, provided by a random number generator and drawn uniformly between 0 and 1: (1) station a draws numbers: 0.31, 0.27, 0.78, 0.9, 0.9, 0.11, 0. (2) station b draws numbers: 0.45, 0.28, 0.11, 0.83, 0.37, 0.22, 0. (3)station c draws numbers: 0.1, 0.2, 0.3, 0.4, 0. (4) station d draws numbers: 0.36, 0.77, 0.9, 0.1, 0.1, 0.1, 0.1, 0. (b) in slotted aloha, a station transmits in each time slot with a given probability. what probabilities would you assign to each of the four stations so as to: (i) maximize the efficiency of the protocol? (ii) maximize fairness among the four stations? (c) will the efficiency increase or decrease if we modify slotted aloha as follows: (i) get rid of slots and allow stations to transmit immediately? (ii) implement carrier sensing? (iii) implement collision detection? (iv) implement collision avoidance?
Answers: 3
image
Computers and Technology, 23.06.2019 04:00, coolconnor1234p0sv4p
Another name for addicting games. com
Answers: 1
image
Computers and Technology, 23.06.2019 05:00, bellad0124outlookcom
In cell b18, enter a formula to calculate the amount budgeted for meals. this amount is based on the daily meal allowance and the total travel days (# of nights+1).
Answers: 1
Do you know the correct answer?
I am trying to get two checkboxes on my app to work like in the pictures This is my code right now:...

Questions in other subjects: