fix: playground mode with HTML & CSS editor, no validation

This commit is contained in:
2025-12-31 00:38:41 +01:00
parent c0bb79da9f
commit 8c1683f3f3
3 changed files with 18 additions and 6 deletions

View File

@@ -3,7 +3,7 @@
"id": "playground",
"title": "Playground",
"description": "Free-form HTML & CSS playground",
"mode": "html",
"mode": "playground",
"difficulty": "beginner",
"lessons": [
{
@@ -12,9 +12,9 @@
"description": "",
"task": "",
"previewHTML": "",
"previewBaseCSS": "body { font-family: system-ui, sans-serif; padding: 20px; }",
"previewBaseCSS": "",
"sandboxCSS": "",
"initialCode": "",
"initialCode": "<style>\n body {\n font-family: system-ui, sans-serif;\n padding: 20px;\n }\n</style>\n\n<h1>Hello World</h1>\n<p>Start coding!</p>",
"solution": "",
"previewContainer": "preview-area",
"validations": []

View File

@@ -3,7 +3,7 @@
"id": "playground",
"title": "Playground",
"description": "Freier HTML & CSS Spielplatz",
"mode": "html",
"mode": "playground",
"difficulty": "beginner",
"lessons": [
{
@@ -12,9 +12,9 @@
"description": "",
"task": "",
"previewHTML": "",
"previewBaseCSS": "body { font-family: system-ui, sans-serif; padding: 20px; }",
"previewBaseCSS": "",
"sandboxCSS": "",
"initialCode": "",
"initialCode": "<style>\n body {\n font-family: system-ui, sans-serif;\n padding: 20px;\n }\n</style>\n\n<h1>Hallo Welt</h1>\n<p>Los geht's!</p>",
"solution": "",
"previewContainer": "preview-area",
"validations": []