0
0
Bootsrapmarkup~20 mins

Column ordering in Bootsrap - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
Bootstrap Column Ordering Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
🧠 Conceptual
intermediate
1:30remaining
Understanding Bootstrap column ordering classes
In Bootstrap, which class would you use to move a column to the first position on all screen sizes?
Aorder-first
Border-0
Corder-start
Dorder-top
Attempts:
2 left
💡 Hint
Think about the class that explicitly places a column at the start regardless of screen size.
📝 Syntax
intermediate
1:30remaining
Correct Bootstrap syntax for ordering columns on medium screens
Which option correctly applies a Bootstrap class to make a column appear last only on medium (md) screens and larger?
Bootsrap
<div class="row">
  <div class="col-md-4 ?">Column 1</div>
  <div class="col-md-4">Column 2</div>
  <div class="col-md-4">Column 3</div>
</div>
Aorder-last-md
Border-last-md-4
Corder-md-last
Dorder-md-12
Attempts:
2 left
💡 Hint
Bootstrap uses the pattern order-{breakpoint}-{value} for responsive ordering.
rendering
advanced
2:00remaining
Visual result of column ordering classes
Given this Bootstrap code, what is the visual order of columns on large screens (lg)? <div class="row"> <div class="col-lg-4 order-lg-3">A</div> <div class="col-lg-4 order-lg-1">B</div> <div class="col-lg-4 order-lg-2">C</div> </div>
Bootsrap
<div class="row">
  <div class="col-lg-4 order-lg-3">A</div>
  <div class="col-lg-4 order-lg-1">B</div>
  <div class="col-lg-4 order-lg-2">C</div>
</div>
AC, A, B
BB, C, A
CA, B, C
DB, A, C
Attempts:
2 left
💡 Hint
Lower order numbers appear first in the row.
selector
advanced
1:30remaining
Selecting the correct CSS selector for Bootstrap column order
Which CSS selector targets all columns that have the Bootstrap class to appear first on small screens (sm)?
A.order-sm-first
B.col-sm-order-first
C.order-first-sm
D.order-sm-1
Attempts:
2 left
💡 Hint
Bootstrap uses the pattern order-{breakpoint}-{position}.
accessibility
expert
2:30remaining
Accessibility considerations for reordered columns
When using Bootstrap column ordering classes to visually reorder content, what is the best practice to ensure screen readers read the content in the correct logical order?
AUse <code>aria-flowto</code> attributes to define reading order explicitly.
BUse JavaScript to reorder DOM elements dynamically after page load.
CAdd <code>tabindex</code> to columns to control focus order.
DAvoid changing the HTML source order; reorder only visually with CSS.
Attempts:
2 left
💡 Hint
Think about how screen readers read the HTML source order.