Multiple Choice
Which of the following is the best way to prompt for number of children and store the input as a number?
A) numOfKids = parseInt(prompt("Number of children:", "") ) ;
B) numOfKids = parseFloat(prompt("Number of children:", "") ) ;
C) numOfKids = confirm("Number of children:") ) ;
D) prompt(numOfKids, "Number of children:") ) ;
Correct Answer:

Verified
Correct Answer:
Verified
Q31: Which of the following CSS-rule locations has
Q32: Suppose a web page has a elements
Q33: With its 24-bit color palette, the JPEG
Q34: Why is code redundancy bad?
Q35: With relative positioning, an element's specified position
Q37: In organizing a website's links, a hierarchical
Q38: What does the following CSS rule do?<br>Input:valid:focus
Q39: When you call the addEventListener method, you
Q40: A radio button's checked property is associated
Q41: Which of the following is a valid