Practice ยท 1 of 1
Prediction: Block or Inline?
Predict, then prove. The boilerplate has three elements and empty predictions in CSS comments. Replace each prediction comment with the property that makes the statement true:
1. Make the .badge keep its padding AND width while flowing beside the text โ set display on .badge.
2. Make the span-sized .spacer disappear entirely โ set display on .spacer.
3. Keep .para as a block โ but prove it by setting display explicitly on .para.
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Display & Flow โ Practice