Which code could be used to send a user to another Web site when they click a button on the Web page?
A)
B)
C)
D)
Which choice demonstrates the correct syntax for declaring a variable to represent the month in which a person was born?
Consider the following code:
What code would you use to determine if the check box has been checked or not?
Which of the following comparison statement will return true?
A)
X=10;
Y=11;
y--;
x==y
B)
X=10;
Y=11;
Y++;
x==y’
C)
X=11;
Y=10;
y--;
x==y;
D)
X=11;
Y=10;
y-= 1;
x==y
Loni needs to create a scriptable button in her Web form that does not submit the form but instead, calls a custom function What HTML code should she use?
A)
B)
C)
D)
What is the expected result of executing the following code block in a Web browser?
Consider the following code:
The processform() function is not executed when the submit button is pressed. What change should be made to correct this?
Consider the following code:
The code displays a pop-up alert message if the username is less than 6 characters and submits the form. What change should be made to prevent the form from submitted if the username is less than 6 characters?
Consider the following code:
Which of the following is true based on the above code?
Scarlet has the following code in her script:
Var namesArr =[‘’Joseph’,’ Charlotte’’, ‘’Nicole’’];
She wants to add the name Hank to the end of the array so that its length is 4. What code should she use?
Marshall's computer previously contracted malware because he unknowingly clicked on an infected link in a pop-up window. What can he do to secure the Web browser so that he is protected in the future?