A. The total column widths exceed 12, causing layout issues
B. Missing container class around the row
C. Row class should be col-12 instead
D. Widgets should use card class instead of col
Solution
Step 1: Sum the column widths inside the row
Columns use col-8 and col-6, totaling 14 (8+6).
Step 2: Check Bootstrap grid rules
Bootstrap grid allows max 12 columns per row; exceeding causes wrapping or broken layout.
Final Answer:
The total column widths exceed 12, causing layout issues -> Option A
Quick Check:
Sum col widths > 12 breaks layout [OK]
Hint: Sum columns ≤ 12 per row in Bootstrap [OK]
Common Mistakes:
Ignoring total column width limit
Thinking container is mandatory for rows
Confusing row and col classes
5. You want a dashboard with three equal sections horizontally on desktop, but stacked vertically on small screens. Which Bootstrap classes achieve this?
hard
A. col-3 col-sm-6 for each section
B. col-4 col-md-12 for each section
C. col-6 col-lg-3 for each section
D. col-12 col-md-4 for each section
Solution
Step 1: Understand responsive column classes
col-12 makes full width on small screens; col-md-4 makes one-third width on medium+ screens.
Step 2: Apply to dashboard sections
Using col-12 col-md-4 on each of three sections stacks them vertically on small devices and places side by side on desktops.
Final Answer:
col-12 col-md-4 for each section -> Option D
Quick Check:
Full width small + one-third medium = responsive layout [OK]
Hint: Use col-12 for small, col-md-4 for desktop thirds [OK]
Common Mistakes:
Reversing small and medium classes
Using fixed widths without responsiveness
Choosing wrong breakpoint prefixes
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.