0 of 10 Questions completed
Questions:
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
0 of 10 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Why is using hardcoded values in JavaScript programs limiting?
Which HTML element is used to allow users to enter data into a webpage?
How can JavaScript access values entered into an <input> field?
What is the purpose of a JavaScript function in an interactive form?
Which HTML element is commonly used to trigger JavaScript functions?
If an input box has id=”username”, how can we store its value in a JavaScript variable?
In the lesson examples, how did JavaScript output a message that includes user input?
What happens if a user does not enter a value in an input box before clicking a button?
How can JavaScript perform mathematical operations on user input?
What will happen if the following JavaScript function is run?
var number1 = document.getElementById("num").value; alert(number1 * number1);