topskill.dev
CoursesTracks
0
All courses/Introduction to HTMLBuild a Crew Member Loadout
Text Content
6 / 8
← Introduction to HTML
○What Is HTML? See Tags in Action○Build the Meridian Signal○Complete HTML5 Page Structure○Build a Complete HTML5 Page✦Module Quiz
○Heading Hierarchy: H1 and H2○Extend the Signal Brief○Paragraphs and Inline Tags○Write Meridian's Survey Notes○List Types: Steps, Items, and Terms●Build a Crew Member Loadout○Challenge: Transmit a Rescue Signal✦Module Quiz
○Hyperlinks○Links between project files○Images○Applying Styles to HTML✦Module Quiz
○Div and Span○HTML Tables○Classes and IDs○Review: Structured Profile✦Module Quiz
○Project 1 - Visiting Card Structure○Project 1 - Visiting Card Actions✦Module Quiz
○The Head Element and Page Title○Meta Tags○HTML Entities✦Module Quiz
○Form Basics: Join the Meridian Relay○Build a Night-Shift Check-In○Input Types: Build a Mission Profile○Record Beacon Maintenance○Choice Controls: Select Training Modes○Plan a Supply Pickup○Response Controls: Send a Mission Reply○Build a Rescue Dispatch Report○Form validation and submission○Challenge: Send an Emergency Beacon✦Module Quiz
○Project 2 - Contact Us Form Structure○Project 2 - Contact Us Form Actions✦Module Quiz
○Embedding Video○Embedding Audio○Iframes✦Module Quiz
○Semantic HTML Tags○Details, Figure, and Figcaption○A keyboard-friendly page✦Module Quiz
○Project 3 - Resume Semantic Structure○Project 3 - Resume Links and Actions✦Module Quiz

Build a Crew Member Loadout

HTML Lists

A crew member is preparing a daytime river survey rather than the previous example’s night rescue. The document shell in index.html is supplied; its body is empty. Write your own departure steps, kit items, and two survey terms. Their jobs determine which list to use.

Choose a list by its job

The preceding demo's launch steps used <ol> because sequence mattered. Its kit used <ul> because the items can be packed in any order. A <dl> pairs each <dt> term with its <dd> description. Each ordered or unordered list item goes in an <li>.

For a different brief, a supply list could look like this:

html
<ul>
  <li>Water flask</li>
  <li>Field notebook</li>
</ul>
<dl>
  <dt>Relay</dt><dd>Passes a message to the bridge.</dd>
</dl>

Check your page

Preview the page. The setup steps should be numbered, the supplies should have bullets, and each term in the description list should be followed by its explanation. If the sequence is not numbered, inspect the outer list tag first.

Edit index.html, press Run to inspect your page, then Submit to check the tasks. You can submit after each step; later tasks may still be incomplete.

Your Task

Build a page that uses all three list types:

  1. Add an <ol> to the page.
  2. Inside your <ol>, add at least 3 non-empty <li> steps.
  3. Add a <ul> to the page.
  4. Inside your <ul>, add at least 3 non-empty <li> items.
  5. Add a <dl> to the page.
  6. Inside your <dl>, add at least 2 non-empty <dt> terms, each followed by a matching <dd> definition.

The crew now has steps, supplies, and short explanations in the right list shapes.

Hint 1
1 / 4
HINT 1

Use <ol> for ordered (numbered) lists and <ul> for unordered (bullet) lists.

HINT 2

Each item in an ordered or unordered list is wrapped in an <li> tag.

HINT 3

For a description list, use <dl> with <dt> for the term and <dd> for the description.

HINT 4

Lists can be nested: put a <ul> or <ol> inside an <li> to create sub-lists.

Files
  • ⋄index.html
Loading editor…