Create the pre-flight checklist HTML structure
Concept
Before adding JavaScript, you need a solid HTML structure — like designing the cockpit layout before installing instruments. You will create a checklist page with checkboxes for safety items. Each checkbox is an <input type="checkbox"> element that users can check and uncheck.
Apply
Create a new HTML file called "checklist.html" with a pre-flight checklist structure.
Prompt
Expected Result
You should see a heading, a paragraph, a status line saying "0 of 5 checks completed", and 5 checkboxes with labels next to them. You can click the checkboxes to check and uncheck them, but nothing else happens yet — that is what JavaScript will add.
Troubleshooting
- • If checkboxes don't appear, make sure you used type="checkbox" inside the input tag. Also check that each <label for="..."> matches the corresponding <input id="...">.