CSS Grid: Two-Dimensional Layout
Grid tracks, fr units, areas, and when Grid beats Flexbox.
Discover the latest in frontend development with our comprehensive guides, tutorials, and industry insights.
Grid tracks, fr units, areas, and when Grid beats Flexbox.
Flex container vs items, main/cross axis, and alignment properties that interviewers ask about.
Content, padding, border, margin; box-sizing; and how it affects layout calculations.
Specificity rules, common traps, and practical strategies to avoid fighting CSS.
Why semantic HTML matters, how it affects accessibility/SEO, and how to choose the right elements.
Practical performance levers: memoization, splitting, virtualization, and avoiding unnecessary renders.
How to build and name custom hooks, and what makes them testable and reusable.
Context basics, performance implications, and alternatives like composition.
How to think about form inputs, refs, and when each approach makes sense.