# Question + Answer: Section title element for AI agents

> A question in bold beside an accent Q, a beat, then the answer types beside a green A while the pen draws an arrow from question to answer. Optional handwritten aside.

Canonical page: https://agentframes.ai/elements/jotter/question-answer/
Markdown: https://agentframes.ai/elements/jotter/question-answer.md

## Overview

- Name: Question + Answer (`questionAnswer`), an element: one HyperFrames block per size
- Part of: the [Jotter](https://agentframes.ai/packs/jotter.md) pack (4 of 50). Available only through the All-access subscription.
- Category: Section title
- Purpose: A question in bold beside an accent Q, a beat, then the answer types beside a green A while the pen draws an arrow from question to answer. Optional handwritten aside.
- Pack: [Jotter](https://agentframes.ai/packs/jotter.md), included in All-access (from $14/month billed annually ($168/year), or $19 monthly)
- Subscribe: POST https://agentframes.ai/api/checkout/subscribe with interval=month or interval=year (optional currency=USD|GBP|EUR|AUD|CAD; 303 redirect to Stripe checkout; a human pays there). Then download any pack with the subscriber key: https://agentframes.ai/account.md
- Aspects: 16:9 (native), 9:16 (native), 4:5 (native), 1:1 (native)
- Canvases: works on Daylight (white note, dusk wallpaper) (`daylight`), Dark mode (graphite note, night wallpaper) (`dark`), Tinted (cream note, sunrise wallpaper) (`tinted`); avoid none
- Typical duration: 8s
- Speaker-safe: no
- Preview video (watermarked): https://agentframes.ai/media/jotter/question-answer.mp4
- Poster: https://agentframes.ai/media/jotter/question-answer.jpg
- Licence: [AgentFrames Licence](https://agentframes.ai/licence.md)

## Paste this into Claude Code

```text
Use the AgentFrames Jotter pack. Add a `questionAnswer` beat to plan.json on a `daylight` canvas with slots `title`, `tags`, `q`, `a` and `note` from my script. Then run validate → build → qa and show me qa/contact.jpg.
```

## Variables

| Variable | Type | Label | Description | Default |
|---|---|---|---|---|
| `title` | string | title | the note title (types on first); up to 2 lines. Markup: **bold**, ==yellow==, ++green++, ~~struck~~, __pen underline__. {"type":"string","minLength":1,"maxLength":44} | FAQ |
| `tags` | string | tags | #tags under the title (the first is the accent tag), e.g. ["step 3 of 5", "productivity"]. JSON string. {"type":"array","items":{"type":"string","minLength":1,"maxLength":16},"minItems":0,"maxItems":3} | [] |
| `q` | string | q | the question. {"type":"string","minLength":4,"maxLength":90} | Do I need an app for this? |
| `a` | string | a | the answer. {"type":"string","minLength":4,"maxLength":220} | No. A single note is enough. The point is ==ten honest minutes==, not a new system. |
| `note` | string | note | a handwritten pen note (Gochi Hand); "\|" breaks a line. {"type":"string","minLength":0,"maxLength":28} | pen + paper works too |

## What your agent can change

**Question + Answer**. Native 1920×1080, 8s at 30fps.

A question in bold beside an accent Q, a beat, then the answer types beside a green A while the pen draws an arrow from question to answer. Optional handwritten aside.

**Motion.** Q pops and the question types; a 0.6 s beat; the arrow draws down; A pops and the answer types; the note inks in last.
**Why it moves.** change: the pause makes the viewer think before the answer lands.

### Mount

Copy every manifest file into your project (plus `af-jotter-runtime`). Mount with a unique host id, `data-composition-id="af-jotter-question-answer-16x9"`,
`data-composition-src="compositions/af-jotter-question-answer-16x9.html"`, `data-duration` and `data-variable-values`.
Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): each is laid out natively, never scaled.

### Content slots

Nested slots are JSON strings. Every slot is checked against `constraints.json` and measured against the note before anything
draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).

- `title`: the note title (types on first); up to 2 lines. Markup: **bold**, ==yellow==, ++green++, ~~struck~~, __pen underline__. {"type":"string","minLength":1,"maxLength":44}
- `tags`: #tags under the title (the first is the accent tag), e.g. ["step 3 of 5", "productivity"]. {"type":"array","items":{"type":"string","minLength":1,"maxLength":16},"minItems":0,"maxItems":3}
- `q` (required): the question. {"type":"string","minLength":4,"maxLength":90}
- `a` (required): the answer. {"type":"string","minLength":4,"maxLength":220}
- `note`: a handwritten pen note (Gochi Hand); "|" breaks a line. {"type":"string","minLength":0,"maxLength":28}

- Text slots take **bold**, ==yellow highlighter==, ++green highlighter++, ~~struck~~ and __pen underline__; marks land after their words are typed.

Style: `colourway` (daylight, dark, tinted), `accent` (optional hex for ticks, tags and the pen), `app` (menu-bar name), `series` (16:9 folder), `stamp` (the date line), `clock`, `intro` (none or open), `exit` (clear or cut), `duration` (seconds).

### Syncing to the narration

Typing runs at a readable pace and speeds up (up to 2.2×) if a scene would otherwise land late. Lists take `cues` (where
offered): the second, from the scene start, at which each item should start typing, taken from your transcript. Raise
`duration` (and the mount's `data-duration`) to fit long narration: everything lands by 60% of the scene, which leaves the rest as a
readable hold while the caret blinks.

### Timing

8s by default. The note starts empty and its content types on from about 0.3 s; reveals land by 60%; with `exit: clear` the content lifts away over the last 0.45 s, leaving the empty note for the next scene.

### Example

```json
{
  "title": "FAQ",
  "tags": "[]",
  "q": "Do I need an app for this?",
  "a": "No. A single note is enough. The point is ==ten honest minutes==, not a new system.",
  "note": "pen + paper works too"
}
```

## FAQ

### What can my AI agent change in Question + Answer?

Your agent fills the `title`, `tags`, `q`, `a` and `note` slots through the block's data-variable-values (or the starter project's variables). Motion, timing, palette, fonts and the internal layout are protected, so the result keeps the Jotter look.

### Which aspect ratios does Question + Answer support?

Question + Answer is designed natively for 16:9, 9:16, 4:5 and 1:1. A typical beat lasts 8s.

### How do I get Question + Answer?

Question + Answer is included in the Jotter pack, which is part of the AgentFrames All-access subscription along with 49 other templates in this pack and every other pack on the store. You get the full source, the editing contracts and the agent instructions.

## More in Jotter

- [Hook Question](https://agentframes.ai/elements/jotter/hook-question.md): Opens the video: a big question types into an empty note, the pen circles the key word and scribbles a margin note, then a quiet subline types under it.
- [Definition](https://agentframes.ai/elements/jotter/definition.md): Defines a term like a dictionary entry written in a note: the term in heavy type, the word class in italics, a rule, the definition with its key phrase highlighted, and an example.
- [Chapter Page](https://agentframes.ai/elements/jotter/chapter-page.md): A section divider: a fresh note with a huge part number in the accent colour, the chapter title, a pen underline, a subline and a row of progress dots (part x of y).
- [Backspace Rewrite](https://agentframes.ai/elements/jotter/backspace-rewrite.md): The live edit: a sentence types ending on the wrong word, the word turns red, the caret backspaces it letter by letter and types the right word, which gets the highlighter.

## Community

Coming soon.
