Question: Question 2 2 : ( 2 points ) Consider the following code: ` ` ` var fruits = [ banana , apple, orange,
Question : points Consider the following code:
var fruits banana "apple", "orange", "kiwi", "grape";
var x ;
var y fruitsfruitslength;
var z fruitsfruitslength ;
var lastElement fruits;
Which variable holds the value of the last element in the array?
A fruits
B z
C lastElement
D y
E x
Question : points Which of the following would let you use jQuery to hide all elements with the hideme class?
A$hidemehide;
B$hidemehide;
C$#hidemehide;
D$div hidemehide;
E$div #hidemehide;
Question : points JavaScript's parseInt function:
A Converts a string to an integer
B Converts a string to an integer, rounding to the nearest whole number
C Checks to see if a value is a number
D Converts an integer to a string
E Converts an integer into a specified data type
Question : points JavaScript functions must:
A Return a value
B Contain parameters
C Be named starting with a lower case letter
D Contain at least one variable
E Be called before the code will execute
Question : points Which of the following statements about CSS is false?
A It can be created in a separate file
B It can be used to provide styles for multiple elements at the same time
C It can be used with an element's style attribute to style an individual element
D It is required for a webpage to work
E It can be created between a and in an HTML document's section.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
