The frontend half of the engineering set: HTML semantics and accessibility, CSS layout and the cascade, JavaScript core semantics, the event loop, and React. Useful both for interviews and for day-to-day work.
Add it to your projects to study it here with your progress saved. Try it plays a round and saves nothing. Clone makes your own copy that you can change.
You’re reading a free preview. Sign up to see every topic and question — and to play this deck as games.
How boxes are sized and placed, and choosing between one-dimensional flex and two-dimensional grid.
37 total questions
Card #1
What is the CSS box model, from the inside out?
Card #2
What does box-sizing: border-box change?
Card #3
What is margin collapsing?
1. A grid uses repeat(auto-fit, minmax(150px, 1fr)) and holds only two items in a wide container. What happens?
2. A flex item holding a long unbroken URL overflows its row instead of shrinking. What usually fixes it?
3. An element has position: sticky; top: 0 but never sticks. What is a common cause?
1. display: ___ creates a new block formatting context, so a parent grows to contain its floated children.
Hint: Two words joined by a hyphen
2. place-items: center sets both align-items and ___ to center.
Hint: The other alignment axis
3. The shorthand ___: 0 sets top, right, bottom and left to zero in one declaration.
Hint: Five letters