HTML, CSS & JavaScript – Lesson 2 Review KS3
Quiz Summary
0 of 10 Questions completed
Questions:
Information
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:
Results
Results
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)
Categories
- HTML CSS and JavaScript 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 10
1. Question
Why is using hardcoded values in JavaScript programs limiting?
CorrectIncorrect -
Question 2 of 10
2. Question
Which HTML element is used to allow users to enter data into a webpage?
CorrectIncorrect -
Question 3 of 10
3. Question
How can JavaScript access values entered into an <input> field?
CorrectIncorrect -
Question 4 of 10
4. Question
What is the purpose of a JavaScript function in an interactive form?
CorrectIncorrect -
Question 5 of 10
5. Question
Which HTML element is commonly used to trigger JavaScript functions?
CorrectIncorrect -
Question 6 of 10
6. Question
If an input box has id=”username”, how can we store its value in a JavaScript variable?
CorrectIncorrect -
Question 7 of 10
7. Question
In the lesson examples, how did JavaScript output a message that includes user input?
CorrectIncorrect -
Question 8 of 10
8. Question
What happens if a user does not enter a value in an input box before clicking a button?
CorrectIncorrect -
Question 9 of 10
9. Question
How can JavaScript perform mathematical operations on user input?
CorrectIncorrect -
Question 10 of 10
10. Question
What will happen if the following JavaScript function is run?
var number1 = document.getElementById("num").value; alert(number1 * number1);CorrectIncorrect