Recall & Review
beginner
What is the purpose of a pagination component in web design?
A pagination component helps users navigate through large sets of content by dividing it into smaller, manageable pages.
Click to reveal answer
beginner
Which Bootstrap class is used to create a pagination container?The <code>.pagination</code> class is used to create a container for pagination items in Bootstrap.Click to reveal answer
beginner
How do you mark a pagination item as active in Bootstrap?
Add the <code>.active</code> class to the <code><li></code> element to highlight the current page in Bootstrap pagination.Click to reveal answer
intermediate
What role does the
aria-current="page" attribute play in pagination?It improves accessibility by indicating which page is currently active to screen readers.
Click to reveal answer
intermediate
How can you disable a pagination button in Bootstrap?
Add the <code>.disabled</code> class to the <code><li></code> element and set <code>tabindex="-1"</code> on the <code><a></code> element to prevent interaction.Click to reveal answer
Which Bootstrap class creates the pagination container?
✗ Incorrect
The
.pagination class is the container for pagination items in Bootstrap.How do you indicate the current page in Bootstrap pagination?
✗ Incorrect
The
.active class marks the current page in Bootstrap pagination.What attribute improves accessibility by marking the active page?
✗ Incorrect
The
aria-current="page" attribute tells screen readers which page is active.Which class disables a pagination button in Bootstrap?
✗ Incorrect
The
.disabled class disables a pagination button in Bootstrap.What HTML element typically wraps each pagination link in Bootstrap?
✗ Incorrect
Each pagination link is wrapped in a
<li> element inside the .pagination container.Explain how to build a simple pagination component using Bootstrap classes.
Think about the structure and classes Bootstrap requires.
You got /5 concepts.
Describe how accessibility is improved in Bootstrap pagination components.
Focus on attributes and classes that help screen readers and keyboard users.
You got /4 concepts.