feat: add Playground module with full-height editor

This commit is contained in:
2025-12-31 00:36:14 +01:00
parent eaf2d0c7f3
commit 4a9db6d10f
5 changed files with 71 additions and 2 deletions

View File

@@ -0,0 +1,23 @@
{
"$schema": "../schemas/code-crispies-module-schema.json",
"id": "playground",
"title": "Playground",
"description": "Free-form HTML & CSS playground",
"mode": "html",
"difficulty": "beginner",
"lessons": [
{
"id": "playground",
"title": "Playground",
"description": "",
"task": "",
"previewHTML": "",
"previewBaseCSS": "body { font-family: system-ui, sans-serif; padding: 20px; }",
"sandboxCSS": "",
"initialCode": "",
"solution": "",
"previewContainer": "preview-area",
"validations": []
}
]
}

View File

@@ -0,0 +1,23 @@
{
"$schema": "../../schemas/code-crispies-module-schema.json",
"id": "playground",
"title": "Playground",
"description": "Freier HTML & CSS Spielplatz",
"mode": "html",
"difficulty": "beginner",
"lessons": [
{
"id": "playground",
"title": "Playground",
"description": "",
"task": "",
"previewHTML": "",
"previewBaseCSS": "body { font-family: system-ui, sans-serif; padding: 20px; }",
"sandboxCSS": "",
"initialCode": "",
"solution": "",
"previewContainer": "preview-area",
"validations": []
}
]
}