0
0
Bootsrapmarkup~20 mins

Breakpoint tiers (xs, sm, md, lg, xl, xxl) in Bootsrap - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Bootstrap Breakpoint Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Understanding Bootstrap breakpoint tiers
Which Bootstrap breakpoint tier corresponds to screen widths starting at 992px?
Amd
Blg
Csm
Dxl
Attempts:
2 left
💡 Hint
Remember the order: xs, sm, md, lg, xl, xxl and their pixel values.
📝 Syntax
intermediate
1:30remaining
Correct Bootstrap class for medium breakpoint
Which class applies a red background only on medium (md) screens and larger?
Abg-red-md
Bbg-danger-md
Cbg-danger
Dbg-danger d-md-block
Attempts:
2 left
💡 Hint
Bootstrap uses utility classes like bg-danger for colors, but breakpoint prefixes are different.
rendering
advanced
2:00remaining
Visual effect of Bootstrap grid classes
What is the visual layout result of this HTML snippet?
<div class="row">
  <div class="col-sm-6 col-lg-4">Box 1</div>
  <div class="col-sm-6 col-lg-4">Box 2</div>
  <div class="col-sm-12 col-lg-4">Box 3</div>
</div>
AOn all screen sizes, boxes are stacked vertically.
BOn small screens, all boxes stack vertically; on large screens, Box 1 and Box 2 share a row, Box 3 is below full width.
COn large screens, Box 1 and Box 2 are full width stacked, Box 3 shares a row with Box 1.
DOn small screens, Box 1 and Box 2 share a row, Box 3 is full width below; on large screens, all three boxes share one row equally.
Attempts:
2 left
💡 Hint
Check how col-sm and col-lg classes control width at different breakpoints.
selector
advanced
1:30remaining
CSS media query for xl breakpoint
Which CSS media query matches Bootstrap's xl breakpoint (≥1200px)?
A@media (min-width: 1200px) { /* styles */ }
B@media (max-width: 1200px) { /* styles */ }
C@media (min-width: 992px) and (max-width: 1199.98px) { /* styles */ }
D@media (min-width: 1400px) { /* styles */ }
Attempts:
2 left
💡 Hint
Bootstrap breakpoints use min-width for starting points.
accessibility
expert
2:00remaining
Accessibility considerations with breakpoint tiers
When using Bootstrap breakpoint tiers to hide content on smaller screens (e.g., using d-none d-md-block), what is an important accessibility consideration?
AHidden content is removed from the accessibility tree and screen readers cannot access it.
BHidden content remains visible to screen readers even if visually hidden.
CUsing these classes automatically adds aria-hidden attributes for accessibility.
DContent hidden with these classes is still focusable by keyboard users.
Attempts:
2 left
💡 Hint
Think about how display:none affects screen readers.