# Components for an explain-diff page
Every snippet below is styled by `assets/template.html`. Copy, then replace
the sample content. Keep the class names: the stylesheet and the checker
know them. Sample text is in English; write yours in the page language.
## Skippable deep background
The newcomer's tour of the system goes in a collapsible block, so a reader
who knows it can jump straight to the narrow background.
```html
…How the hint service works (skip if you
know it)
Before
…
After
…
Find the word in 6 tries.
| Visitor | Session | Hint |
|---|---|---|
| g-42 | none | refused |
export async function fetchDailyHint(day: number) {
const ok = await ensureGuestSession();
if (!ok) return null;
}
@@ -28,6 +28,9 @@ export async function fetchDailyHint
export async function fetchDailyHint(day: number) {
+ const ok = await ensureGuestSession();
+ if (!ok) return null;
return rpc("hint", { day });