- All .card > h2 cards get a rotating chevron toggle; clicking the h2 collapses/expands all content below it - Existing <details> elements inside cards are synced to the same localStorage store so their state also persists across reloads - Default state: expanded (open); first collapse saves false, reload restores it - Storage key: 'card-collapse-v1' → per-card slug of heading text - CSS: chevron box matches opt-group style; <details> summary styled consistently Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| sections | ||
| app.js | ||
| index.html | ||
| loader.js | ||
| nav.js | ||
| style.css | ||