Questionário vinculado ao guia · Médio Nível

Como transformar um modelo de design em código com o AI Quiz

Testa prompts de design para código, comparação responsiva, estrutura de componentes, verificações de acessibilidade e os limites da geração baseada em capturas de tela.

Pergunta 1 de 8

Que informações uma captura de tela geralmente não especifica por si só?

Visualize cada pergunta8 perguntas

As respostas e explicações aparecem conforme você responde ao teste.

  1. Que informações uma captura de tela geralmente não especifica por si só?
    • Hidden interaction states and responsive rules
    • Pixel colors
    • Visible element positions
    • The page's current viewport
  2. Por que começar com um componente em vez de gerar um aplicativo inteiro?
    • 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. Qual verificação ajuda a revelar um layout que funciona apenas na largura da área de trabalho da maquete?
    • Change the editor theme
    • Rename every CSS class
    • Inspect narrower and wider viewport sizes
    • Remove real text
  4. Um botão gerado parece correto, mas não possui um nome acessível. O que deve ser corrigido?
    • Its border radius only
    • The screenshot file format
    • The page title color
    • Its semantic label and accessible behavior
  5. Quando os tokens de design existentes devem ser fornecidos ao modelo?
    • 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