โ† All Front End Development Flashcard Decks

CSS Architecture & Design Systems Flashcards

7 cards from real Front End Development practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 CSS Architecture & Design Systems flashcards as text
  1. What is a design system in front-end development?

    Answer: A collection of reusable components, design tokens, guidelines, and documentation ensuring consistency across products

    A design system is a comprehensive collection of reusable UI components, design tokens, usage guidelines, and documentation that establishes consistency across a product or product suite.

  2. What is CSS-in-JS?

    Answer: A pattern where CSS styles are authored inside JavaScript files and scoped to components

    CSS-in-JS is a pattern where CSS is written within JavaScript (often using tagged template literals), allowing component-scoped styles and dynamic styling based on JavaScript values.

  3. Which of the following is a popular CSS-in-JS library used with React?

    Answer: styled-components

    styled-components is a widely used CSS-in-JS library that uses tagged template literals to define component-scoped CSS styles directly in React JavaScript files.

  4. What is the utility-first CSS approach exemplified by Tailwind CSS?

    Answer: Building interfaces by composing small, single-purpose utility classes directly in HTML markup

    Utility-first CSS uses many small, single-purpose classes (like flex, text-center, p-4) applied directly in HTML to compose designs without writing custom CSS files.

  5. What problem do CSS Modules solve in large front-end projects?

    Answer: They locally scope CSS class names to a component to prevent global namespace collisions

    CSS Modules automatically scope class names locally to the component that imports them, preventing naming conflicts across the global CSS namespace in large applications.

  6. What is the Atomic CSS methodology?

    Answer: Creating very small, immutable, single-purpose classes where each class applies exactly one CSS property

    Atomic CSS uses single-responsibility classes (one property per class) like .mt-4 or .flex that can be composed in HTML to build any interface without writing new CSS rules.

  7. What is the primary benefit of using a component library as part of a design system?

    Answer: It provides pre-built, tested, accessible UI components that enforce consistency and accelerate development

    A component library offers pre-built, reusable UI components that are already tested for accessibility and consistency, reducing duplication and accelerating feature development.

How this page was made: written with AI tools and published by Nathan Beja, founder of Practice Test Geeks, who is responsible for its content. We have not yet matched this exam's facts to an official source, so confirm fees, dates and rules with the exam body. Not reviewed by a subject-matter expert. Editorial policy