Mit dem Guide verknüpftes Quiz · Mittel Ebene

So verwandeln Sie ein Designmodell mit einem KI-Quiz in Code

Testet Design-to-Code-Eingabeaufforderungen, reaktionsfähige Vergleiche, Komponentenstruktur, Barrierefreiheitsprüfungen und die Grenzen der Screenshot-basierten Generierung.

Frage 1 von 8

What information does a screenshot usually fail to specify by itself?

Sehen Sie sich jede Frage in der Vorschau an8 Fragen

Während Sie am Quiz teilnehmen, werden Antworten und Erklärungen angezeigt.

  1. What information does a screenshot usually fail to specify by itself?
    • Hidden interaction states and responsive rules
    • Pixel colors
    • Visible element positions
    • The page's current viewport
  2. Why begin with one component instead of generating a whole app?
    • AI can only produce single components
    • It makes the result easier to inspect and correct
    • A full app cannot contain CSS
    • Components do not need testing
  3. Which check helps reveal a layout that only works at the mockup's desktop width?
    • Change the editor theme
    • Rename every CSS class
    • Inspect narrower and wider viewport sizes
    • Remove real text
  4. A generated button looks correct but has no accessible name. What should be fixed?
    • Its border radius only
    • The screenshot file format
    • The page title color
    • Its semantic label and accessible behavior
  5. When should existing design tokens be supplied to the model?
    • When the project expects generated styles to match its established colors and spacing
    • Only after the code is deployed
    • Never, because tokens are images
    • Only when the page has no components
  6. What does a visual regression comparison establish?
    • That every interaction works
    • That the rendered images match at the tested conditions
    • That the page meets all accessibility criteria
    • That the component tree is maintainable
  7. Why use realistic content during layout review?
    • Real text guarantees WCAG conformance
    • Placeholder text disables responsive CSS
    • Long labels and actual text can change wrapping and spacing
    • It eliminates the need for keyboard testing
  8. Which request is most likely to preserve already-correct code after finding one mismatch?
    • Regenerate the entire application
    • Delete the component library
    • Replace all tokens with inline styles
    • Ask for a targeted adjustment and explain the mismatch