Recall & Review
beginner
What is a responsive card grid in web design?
A responsive card grid is a layout that adjusts the number and size of cards automatically to fit different screen sizes, making the content easy to read on phones, tablets, and desktops.
Click to reveal answer
beginner
Which Tailwind CSS utility helps create a grid layout?
The
grid utility activates CSS Grid layout. You combine it with grid-cols-* to set the number of columns.Click to reveal answer
intermediate
How do you make a grid responsive with Tailwind CSS?
Use responsive prefixes like
sm:grid-cols-1, md:grid-cols-2, lg:grid-cols-3 to change columns at different screen widths.Click to reveal answer
beginner
Why use semantic HTML elements inside cards?
Semantic elements like
<article> and <section> help screen readers understand the content, improving accessibility.Click to reveal answer
beginner
What Tailwind utilities help add spacing between cards?
Use
gap-* utilities like gap-4 to add consistent space between grid items.Click to reveal answer
Which Tailwind class sets a grid with three columns on large screens?
✗ Incorrect
The prefix
lg: applies styles on large screens, and grid-cols-3 sets three columns.What does the Tailwind class
gap-6 do in a grid?✗ Incorrect
gap-6 adds 1.5rem (24px) space between grid rows and columns.Which HTML element is best for a card container to improve accessibility?
✗ Incorrect
<article> is a semantic element representing a self-contained piece of content, ideal for cards.How do you make a grid have 1 column on small screens and 4 columns on extra-large screens in Tailwind?
✗ Incorrect
Use responsive prefixes
sm: and xl: to set columns for different screen sizes.What is the main benefit of using CSS Grid for a card layout?
✗ Incorrect
CSS Grid allows easy creation of flexible, responsive layouts without extra scripts.
Explain how to build a responsive card grid using Tailwind CSS.
Think about how columns and spacing change on different screen sizes.
You got /5 concepts.
Describe why accessibility and semantic HTML matter in a responsive card grid.
Consider users who rely on assistive technologies.
You got /4 concepts.