Challenge - 5 Problems
Bootstrap 5 Migration Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediateWhat is the main change in Bootstrap 5 regarding jQuery?
Bootstrap 5 made a significant change about jQuery. What is it?
Attempts:
2 left
💡 Hint
Think about how Bootstrap 5 handles JavaScript plugins.
✗ Incorrect
Bootstrap 5 no longer depends on jQuery. It uses plain JavaScript for its components.
📝 Syntax
intermediateWhich class replaces
.form-row in Bootstrap 5?Bootstrap 4 used
.form-row for form layouts. What is the correct replacement in Bootstrap 5?Attempts:
2 left
💡 Hint
Bootstrap 5 simplifies grid usage in forms.
✗ Incorrect
Bootstrap 5 removed .form-row. Use .row instead for grid layouts in forms.
❓ selector
advancedWhich Bootstrap 5 utility class replaces
.text-hide from Bootstrap 4?Bootstrap 4 had a utility class
.text-hide to hide text visually but keep it accessible. What is the Bootstrap 5 equivalent?Attempts:
2 left
💡 Hint
Bootstrap 5 renamed accessibility utilities.
✗ Incorrect
Bootstrap 5 replaced .text-hide and .sr-only with .visually-hidden for better clarity and accessibility.
❓ layout
advancedHow has the grid system gutter changed from Bootstrap 4 to 5?
Bootstrap 5 introduced a new way to control gutters in the grid system. Which statement is true?
Attempts:
2 left
💡 Hint
Look for new gutter utility classes in Bootstrap 5.
✗ Incorrect
Bootstrap 5 introduced g-* classes (like g-0, g-3) to control gutters easily on rows and columns.
❓ accessibility
expertWhat is the correct way to make a Bootstrap 5 modal accessible?
Bootstrap 5 modals have improved accessibility. Which attribute is essential to add to the modal dialog for screen readers?
Attempts:
2 left
💡 Hint
Think about how screen readers identify modal content.
✗ Incorrect
Adding aria-labelledby referencing the modal's title helps screen readers announce the modal properly.
