All practice tasks

Knowledge Check

Collapsed margins

Which conditions can stop adjacent vertical margins from collapsing?

Answer options

  • A. A border between them
  • B. Padding between them
  • C. A flex formatting context
  • D. Matching text colors

What this task practices

Collapsed margins is a knowledge check interview exercise that trains prompt interpretation, explicit assumptions, a concrete response, and a clear explanation of tradeoffs. The catalog marks it as hard difficulty. It focuses on Frontend Foundations, CSS Box Model. The signed-in workspace provides the tools for the round and evaluates the attempt against task-specific criteria. Reference solutions, hidden checks, evaluator instructions, and candidate work remain private.

Sign in to startThe workspace and evaluation open after sign in.