Multi-column Layout — exercises and bug fixes
5 hands-on exercises and 5 find-the-bug challenges for the Multi-column Layout lesson. Every one is checked automatically in the browser — write the code, run it, and the tests tell you what still fails.
Exercises(5)
- 1
Split into columns
easy10 minGive #wrap three columns.
- 2
Size the columns
easy10 minGive #wrap a 200px column width.
- 3
Add a column gap
easy10 minGive #wrap a 30px column gap.
- 4
Add a divider rule
easy10 minAdd a 2px solid rule between columns.
- 5
Span all columns
medium10 minMake #box span every column.
Find the bug(5)
- 1
Fix the misspelled property
easy8 minThe property is column-count.
- 2
Fix the missing unit
easy8 mincolumn-width needs a unit.
- 3
Fix the rule with no style
easy8 minWithout a style the column rule has no width.
- 4
Fix the gap property
easy8 minThe gap between columns is column-gap.
- 5
Fix the span value
easy8 minSpanning every column uses the value all.
Ready to write the code?
The editor, the automatic checks and the worked solutions open up with an account.
Open the workspace