Challenge - 5 Problems
Responsive Breakpoints Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate2:00remaining
Why do responsive breakpoints help in web design?
Choose the best explanation for why responsive breakpoints are important when building websites with Bootstrap.
Attempts:
2 left
💡 Hint
Think about how websites look on phones versus big monitors.
✗ Incorrect
Responsive breakpoints let the website change its layout depending on the screen size. This keeps the site easy to read and use on any device.
📝 Syntax
intermediate2:00remaining
Which Bootstrap class applies styles only on medium screens and larger?
Select the Bootstrap class that activates styles starting at the medium breakpoint (≥768px).
Attempts:
2 left
💡 Hint
Bootstrap breakpoints start with xs, sm, md, lg, xl.
✗ Incorrect
The 'md' in 'd-md-block' means the style applies at medium screens and up (≥768px).
❓ layout
advanced2:00remaining
What happens if you omit responsive breakpoints in Bootstrap grid classes?
Given the code below, what is the layout behavior on small and large screens?
Box 1
Box 2
Attempts:
2 left
💡 Hint
The 'col-6' class applies to all screen sizes unless a breakpoint is specified.
✗ Incorrect
Without breakpoints, 'col-6' means each box always takes half the row width, side by side on all devices.
❓ accessibility
advanced2:00remaining
How do responsive breakpoints improve accessibility?
Which statement best explains how responsive breakpoints help users with disabilities?
Attempts:
2 left
💡 Hint
Think about how layout affects reading and navigation.
✗ Incorrect
Responsive breakpoints keep content organized and easy to use on any device, helping assistive technologies work better.
❓ selector
expert2:00remaining
Which CSS media query matches Bootstrap's large (lg) breakpoint?
Select the exact CSS media query that targets screens 992px wide and above, matching Bootstrap's 'lg' breakpoint.
Attempts:
2 left
💡 Hint
Bootstrap's lg breakpoint starts at 992px and up.
✗ Incorrect
The 'min-width: 992px' media query applies styles to screens 992px wide or larger, matching Bootstrap's lg breakpoint.