refactor: shorten lesson titles and improve content
Some checks failed
Deploy static content to Pages / deploy (push) Has been cancelled

- Shorten verbose lesson titles for better sidebar display
- Minor content improvements across lessons

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-30 16:22:48 +01:00
parent 27cbcbabed
commit 9853ced6b0
23 changed files with 79 additions and 79 deletions

View File

@@ -1,14 +1,14 @@
{
"$schema": "../schemas/code-crispies-module-schema.json",
"id": "html-details-summary",
"title": "Details & Summary: Disclosure Widgets",
"title": "Disclosure",
"description": "Create expandable content sections without JavaScript",
"mode": "html",
"difficulty": "beginner",
"lessons": [
{
"id": "details-summary-basic",
"title": "Your First Disclosure Widget",
"title": "First Widget",
"description": "The <kbd>&lt;details&gt;</kbd> element creates a collapsible section. The <kbd>&lt;summary&gt;</kbd> provides the clickable label.<br><br>Click the summary to toggle the hidden content - no JavaScript needed!",
"task": "Create a <kbd>&lt;details&gt;</kbd> element with:<br>1. A <kbd>&lt;summary&gt;</kbd> saying 'Click to reveal'<br>2. A <kbd>&lt;p&gt;</kbd> with the text 'This content was hidden!'",
"previewHTML": "",