1. Type the first part of a checkbox tag, the part that identifies it as a checkbox.
That's correct. Well done!
The correct code:
<input type="checkbox"
Press Tab or click button to advance to next exercise.
2. What binds a series of checkboxes into a group? Answer with one word.
That's correct. Well done!
The correct answer:
name
Press Tab or click button to advance to next exercise.
Press Tab or click button to advance to next exercise.
3. In a group of checkboxes, how is each checkbox distinguished from the others? Answer with one word.
That's correct. Well done!
The correct answer:
value
Press Tab or click button to advance to next exercise.
4. Typically, if the text the user sees next to a checkbox is "Lake," the word is matched inside the tag by the ____.
That's correct. Well done!
The correct answer:
value
Press Tab or click button to advance to next exercise.
5. Drag-and-drop: Holding down the left mouse button, drag the pieces of code onto the screen to make a list of all the parts that a group of checkboxes have in common.
6. Click in the box and type the next character. I'll autocomplete. Don't type spaces or carriage returns. When the exercise is complete, I'll turn the exercise number green.
Code a checkbox named "plant" whose value is "lily".
That's correct. Well done!
Press Tab or click button to advance to next exercise.
7. Fail-safe coding. If you type the wrong character, I'll cancel the keystroke. Type spaces. When the exercise is complete, I'll turn the exercise number green.
Code a checkbox named "car" that tells the processing program that the "VW" box has been checked. The checkbox is checked.
Press Tab or click button to advance to next exercise.
That's correct. Well done!
8. Code a checkbox tag from the beginning through the part that binds a group of checkboxes together. Make up that part.
That's correct. Well done!
Example:
<input type="checkbox" name="planets"
Press Tab or click button to advance to next exercise.
9. Code the part that distinguishes a checkbox from all the others. Make it up.
That's correct. Well done!
Example:
value="Pluto"
Press Tab or click button to advance to next exercise.
10. Code the last two "equations" of a checkbox tag that is checked, with a > at the end. Make up what you need to.
That's correct. Well done!
Example:
value="Pluto" checked="checked">
Press Tab or click button to advance to next exercise.
11. Code a checkbox tag. Make everything up.
That's correct. Well done!
Example:
<input type="checkbox" name="planets" value="Pluto">
Press Tab or click button to advance to next exercise.
12. Code a checkbox tag. Add text that the user will see. Make everything up.
That's correct. Well done!
Example:
<input type="checkbox" name="planets" value="Pluto"> Pluto
Press Tab or click button to advance to next exercise.
The next several exercises are timed. If you type slowly or dislike time pressure, feel free to increase the allotted time.
13. Time goal: 65 seconds. Code a checkbox named "car" that tells the processing program that the "VW" box has been checked. The checkbox is checked.
Press Tab or click button to check answer.
The correct code:
<input type="checkbox" name="car" value="VW"
checked="checked">
Press Tab or click button to advance to next exercise.
Press Tab or click button to advance to next exercise.
14. Time goal: 40 seconds. Code a checkbox tag from the beginning through the part that binds a group of checkboxes together. Make up that part.
Press Tab or click button to check answer.
Example:
<input type="checkbox" name="planets"
Press Tab or click button to advance to next exercise.
Press Tab or click button to advance to next exercise.
15. Time goal: 15 seconds. Code the part that distinguishes a checkbox from all the others. Make it up.
Press Tab or click button to check answer.
Example:
value="Pluto"
Press Tab or click button to advance to next exercise.
Press Tab or click button to advance to next exercise.
16. Time goal: 35 seconds. Code the last two "equations" of a checkbox tag that is checked, with a > at the end. Make up what you need to.
Press Tab or click button to check answer.
Example:
value="Pluto" checked="checked">
Press Tab or click button to advance to next exercise.
Press Tab or click button to advance to next exercise.
17. Time goal: 55 seconds. Code a checkbox tag. Make everything up.
Press Tab or click button to check answer.
Example:
<input type="checkbox" name="planets" value="Pluto">
Press Tab or click button to advance to next exercise.
Press Tab or click button to advance to next exercise.
18. Time goal: 60 seconds. Code a checkbox tag. Add text that the user will see. Make everything up.
Press Tab or click button to check answer.
Example:
<input type="checkbox" name="planets" value="Pluto"> Pluto
Press Tab or click button to advance to next exercise.
Press Tab or click button to advance to next exercise.
19. Access this live coding exercise at JS Fiddle. When you've completed the exercise, close the JS Fiddle window, and you'll be returned to this page. (If JS Fiddle displays a warning message saying that your changes will be reset, click Leave this Page.)
Click button to advance.
20. Access this live coding exercise at JS Fiddle. When you've completed the exercise, close the JS Fiddle window, and you'll be returned to this page. (If JS Fiddle displays a warning message saying that your changes will be reset, click Leave this Page.)
Click button to advance.
Post a review on Amazon for the paperback or the Kindle edition.
Email me to give me a compliment, complaint, or correction. I'll respond.
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19
1
0