1.04 · Lab
Lists
Two lists, two containers, one question to ask each time: does swapping two items change the meaning? Build one of each and feel the difference.
Exercise
Build an unordered list and an ordered list
Checks itself — try as often as you likeWrite a ul with exactly three items where the order doesn't matter (like favorite snacks), then write an ol with exactly three items where the order genuinely matters (like steps in a recipe). Every item is an li, nested inside the list it belongs to.