Responsive layouts and container queries
Build flexible grids, choose viewport breakpoints, and let a reusable component respond to its container with a working query example.
Read lessonWork through a specific problem, then follow the links to the concepts behind it. Learning paths put the lessons in order.
Build flexible grids, choose viewport breakpoints, and let a reusable component respond to its container with a working query example.
Read lessonUse motion for state feedback, keep changes understandable without animation, and test prefers-reduced-motion with a working toggle.
Read lessonUnderstand why a CSS declaration wins: matching, origin, importance, layers, specificity, inheritance, and source order.
Read lessonDeclare build and test tools as development dependencies while distinguishing installation categories from bundled output.
Read lessonUse real table headers and a caption, then keep wide data inside an accessible horizontal scroll region.
Read lessonCreate a wrapping Tailwind 3 navigation bar with real links, a landmark name, and visible keyboard focus.
Read lessonStyle a native modal dialog with Tailwind 3 and verify opening, Escape, closing, and focus return.
Read lessonUse Tailwind 3 list utilities while preserving list structure and choosing marker placement deliberately.
Read lessonCompare fixed grid columns with Tailwind 3 responsive variants and inspect the compiled grid rules.
Read lessonBuild a Tailwind 3 form with associated labels, native validation, visible focus, and local-only feedback.
Read lessonCreate a Tailwind 3 card with a real heading, stable artwork and a descriptive navigation link.
Read lessonBuild a Tailwind 3 button with a working action, focus feedback, and a genuinely disabled comparison.
Read lessonConfigure Tailwind IntelliSense and optional Prettier class sorting for the project’s actual major version.
Read lessonCompare utility-first styling with component-oriented defaults without assuming either framework guarantees speed or accessibility.
Read lessonLearn native CSS first, choose a Tailwind version, and practice translating small layouts into utilities.
Read lessonChoose a Tailwind major version, build a small stylesheet, and verify that utility classes appear in the generated CSS.
Read lessonCompare Flexbox lines with shared Grid tracks, see both layouts working, and choose the right model for a real interface.
Read lessonCompare margins, flex, grid and positioned centering with Tailwind 3, including each layout’s prerequisites.
Read lessonCompare verified Adobe Fonts destinations with realistic reading and interface samples, rather than a universal best-font ranking.
Read lessonCompare direct-child and descendant selectors using valid nested HTML without adding specificity weight.
Read lessonWrite HTML comments that explain decisions, inspect their source, and avoid treating them as privacy or access control.
Read lessonUse commits to record project history, distinguish local work from remote sharing, and understand Git’s distributed model.
Read lessonDistinguish editors and integrated development environments, and evaluate them with a small HTML and CSS task.
Read lessonUse aspect-video, full width, and native controls for a self-contained responsive Tailwind 3 video example.
Read lessonGive a page a clear main heading and a logical hierarchy without treating h1 count as a simple ranking rule.
Read lessonUse landmarks, headings, lists, links, and controls for their actual meaning rather than visual resemblance.
Read lessonSize Grid tracks with fractions after gaps and fixed tracks, and understand intrinsic minimum sizing.
Read lessonShow the current page’s place in a hierarchy with named navigation, real parent links and an optional current-page marker.
Read lessonList canonical pages for discovery, keep sitemap entries consistent, and avoid treating submission as indexing proof.
Read lessonUse @media print to adapt a document for paper, then inspect actual print preview before relying on pagination.
Read lessonUse aria-pressed for a button with an on/off state, keep its label stable, and choose a checkbox for form choices.
Read lessonEvaluate shared design rules, reusable styles, and setup costs without treating a framework as a compatibility guarantee.
Read lessonDefine an animation’s states with @keyframes, apply it with animation, and respect reduced-motion preferences.
Read lessonUse reusable classes for styling, unique IDs for document relationships, and specificity within the complete cascade.
Read lessonFind Ventura’s double-space punctuation setting, verify it in a text field, and distinguish newer macOS interfaces.
Read lessonChoose a realistic task, watch without coaching, and distinguish observed difficulties from general conclusions.
Read lessonBuild layouts that adapt to available space with flexible sizing, media queries, and usable content at zoom.
Read lessonUnderstand prebuilt presentation and decoupled services without assuming static pages guarantee speed or security.
Read lessonUse real href destinations, understand fragments and relative URLs, and distinguish links from buttons.
Read lessonOrganize content beyond the first viewport without treating normal scrolling as hidden content.
Read lessonDistinguish a complete web URL from a root-relative URL and a local filesystem path.
Read lessonIdentify what is initially visible while accounting for viewport height, zoom and content instead of a fixed universal fold.
Read lessonCompare randomly assigned variants with planned metrics, uncertainty and checks for unintended harm.
Read lessonUnderstand visual editing, its preview limits, and why generated HTML still needs inspection.
Read lessonPlan a page’s information hierarchy and layout before committing to detailed visuals.
Read lessonExplain the offer and use of an email address clearly, keep fields labeled, and avoid assuming an exchange creates trust.
Read lessonDistinguish same-directory, parent-directory and root-relative URLs, including the effect of a document’s base URL.
Read lessonPut valid metadata in the document head and distinguish meta from title and search ranking promises.
Read lessonUse a prominent introduction when it helps orient readers, without inventing a hero HTML element.
Read lessonUnderstand API-delivered content, editorial interfaces, and the front-end responsibilities a headless CMS leaves to you.
Read lessonUse a descriptive action label, choose link or button semantics, and explain what happens next.
Read lessonPair a helpful missing-page message with the correct HTTP status, and distinguish it from a soft 404.
Read lessonReview the whole task, including clarity, recovery and the outcome beyond the screen’s appearance.
Read lessonUnderstand controls, content hierarchy and feedback as parts of the user interface, then inspect a small example.
Read lessonLoad image, script, or media resources with src and resolve URLs without confusing them with navigation links.
Read lessonUse root-relative dimensions and spacing while distinguishing explicit rem values from CSS inheritance.
Read lessonUse nofollow, sponsored and ugc deliberately, and distinguish link qualification from preventing indexing.
Read lessonUse a Git branch for a scoped change and understand what remains shared in a working directory.
Read lessonResolve em from the correct font size, compare nested font sizing, and distinguish media-query units from element styles.
Read lessonUnderstand ordinary HTML links, why dofollow is not an HTML attribute, and when a rel qualifier is needed.
Read lessonWrite context-appropriate image alternatives and distinguish informative, decorative, and linked images.
Read lessonDistinguish the interface people operate from the broader experience of completing a task.
Read lessonReview readable structure, maintainability, accessibility, measured performance and proportionate reuse.
Read lessonDeclare a square site icon with rel="icon", use suitable formats and sizes, and test browser and search requirements separately.
Read lessonUse a detailed prototype to test typography, content and states without treating a static mockup as a finished interface.
Read lessonUse sketches and simple prototypes for early questions, and recognize which behavior they cannot establish.
Read lessonConnect content, visual decisions and working HTML and CSS through a small, testable interface.
Read lessonUse media queries when a layout needs room, test between widths, and avoid treating breakpoints as device labels.
Read lessonCompare inline, block, and inline-block behavior without treating display as an HTML content-model rule.
Read lessonChoose a wrapper by its meaning and content model, then apply layout without confusing CSS display with HTML semantics.
Read lessonEvaluate documentation, feedback loops and recovery steps with a concrete development task.
Read lessonUse valid CSS comment syntax to explain constraints and decisions without restating declarations.
Read lessonUse resize on a textarea, keep its label, and prefer vertical resizing when a fixed width matters.
Read lessonUse :has() to style a parent from its descendants or sibling relationships, with keyboard interaction, specificity, limitations, and support.
Read lessonStyle placeholder text with ::placeholder while keeping a visible label and readable contrast.
Read lessonUse flex or grid alignment for multiline text and understand the limits of line-height and vertical-align.
Read lessonChoose horizontal centering for a block, inline content, or items in a layout container.
Read lessonMatch a learning budget to a concrete skill gap, verify reimbursement rules, and evaluate current course or event details.
Read lessonUse font-weight for visual weight, strong for importance, and account for the weights your font provides.
Read lessonDistinguish outside spacing, inside spacing, and spacing between flex or grid items.
Read lessonUse text-decoration for link underlines and retain visible link and keyboard-focus cues.
Read lessonLimit user-select: none to interface fragments that should not be selected; keep article text copyable.
Read lesson