A form’s field labels are currently left-aligned by default, and a designer decides the layout would look cleaner with the labels aligned flush to the right edge of their column, closer to the input fields beside them. Which text-align value should replace the default?
Author: Anonymous
Threadbare Vintage Clothing switches a nav bar’s `flex-direc…
Threadbare Vintage Clothing switches a nav bar’s `flex-direction` from `row` to `column` to turn it into a vertical sidebar. What changes about the container’s two axes when that happens?
A vintage clothing shop’s .dropdown rule sets display:none b…
A vintage clothing shop’s .dropdown rule sets display:none by default. What CSS is needed to make the submenu actually appear when its parent is hovered?
Stonewell Museum’s exhibit-hours table needs each cell to ke…
Stonewell Museum’s exhibit-hours table needs each cell to keep its own distinct border with visible gaps between cells, rather than merging into shared lines. Which border-collapse value keeps that separation?
Inkwell Illustration Studio has two buttons — one labeled “S…
Inkwell Illustration Studio has two buttons — one labeled “Save” and one labeled “Save and Publish Immediately” — inside a flex row, and wants each button’s width to start from its own text length rather than an equal split. Should the developer use `flex: 1;` or `flex: auto;`?
Spoke & Sprocket Bike Shop’s nav bar has `display: flex;` on…
Spoke & Sprocket Bike Shop’s nav bar has `display: flex;` on the `.nav` container, and the developer wants to change where the links land horizontally along the row. Which property should be adjusted?
A developer wants the audio format most likely to be support…
A developer wants the audio format most likely to be supported across every browser their audience might use, and is choosing between MP3 and OGG as the primary source.
Ledger Line Bookkeeping wants a fixed-width, 150px sidebar t…
Ledger Line Bookkeeping wants a fixed-width, 150px sidebar that never changes size next to a main content column that fills whatever space remains. What settings on the sidebar item achieve that?
A developer sets `autoplay` on a “ element without adding `…
A developer sets `autoplay` on a “ element without adding `muted`, and is confused when the video doesn’t start playing automatically in most visitors’ browsers.
A site’s images occasionally fail to load due to a broken fi…
A site’s images occasionally fail to load due to a broken file path, and the developer wants users to at least see something meaningful in that case.