0
0
Bootsrapmarkup~20 mins

Border utilities in Bootsrap - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Bootstrap Border Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
2:00remaining
What does the class border-top-0 do in Bootstrap?
In Bootstrap, what visual effect does applying the class border-top-0 to an element have?
AAdds a dotted top border to the element.
BAdds a thick top border to the element.
CRemoves the top border of the element.
DRemoves all borders except the top border.
Attempts:
2 left
💡 Hint
Think about what the suffix -0 means in Bootstrap border utility classes.
📝 Syntax
intermediate
2:00remaining
Which class adds a border only on the left side in Bootstrap?
You want to add a visible border only on the left side of a div using Bootstrap border utilities. Which class should you use?
Aborder-left
Bborder-start
Cborder-left-0
Dborder-left-side
Attempts:
2 left
💡 Hint
Bootstrap 4 uses physical direction classes like border-left.
rendering
advanced
2:00remaining
What is the visual result of applying border border-primary rounded classes?
If you apply the classes border border-primary rounded to a button, what will you see?
Bootsrap
<button class="border border-primary rounded">Click me</button>
AA button with a blue border and rounded corners.
BA button with no border and sharp corners.
CA button with a red border and square corners.
DA button with a thick black border and rounded corners.
Attempts:
2 left
💡 Hint
The border-primary class applies the primary theme color to the border.
selector
advanced
2:00remaining
Which class removes all borders from an element in Bootstrap?
You want to remove all borders from a div using Bootstrap classes. Which class should you use?
Aborder-0
Bno-border
Cborder-none
Dborder-remove
Attempts:
2 left
💡 Hint
Bootstrap uses numeric suffixes to control border width.
accessibility
expert
3:00remaining
How to ensure border color changes remain accessible for users with color blindness?
You use border-success and border-danger classes to indicate status. What should you do to keep these borders accessible for users with color blindness?
ARemove borders and use background colors instead.
BOnly rely on border color changes without any additional indicators.
CUse very light border colors so they are less distracting.
DAdd text labels or icons alongside the border color to convey meaning.
Attempts:
2 left
💡 Hint
Think about how people who cannot distinguish colors can still understand status.