fix(i18n): align German lesson code with English
- Changed solution in 00-welcome.json from "Hallo Welt" to "Hello World" - Added missing solution fields to 01-box-model.json (8 lessons) - Added missing solution fields to 05-units-variables.json (4 lessons) - Added missing solution fields to 06-transitions-animations.json (4 lessons) - Added missing solution fields to 08-responsive.json (4 lessons) - Fixed flexbox.json class names from .green/.red/.yellow to .box1/.box2/.box3 - Added missing solution fields to flexbox.json (6 lessons) German translations now keep all CSS code in English for maintainability, with only instructional text translated.
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
"codePrefix": "/* Füge deine Media Query unten ein */\n",
|
||||
"initialCode": "",
|
||||
"codeSuffix": "",
|
||||
"solution": "@media (max-width: 600px) {\n .panel {\n background: lightcoral;\n }\n}",
|
||||
"previewContainer": "preview-area",
|
||||
"validations": [
|
||||
{
|
||||
@@ -55,6 +56,7 @@
|
||||
"codePrefix": "/* Wende flüssige Schriftgröße an */\n.text {",
|
||||
"initialCode": "",
|
||||
"codeSuffix": "}",
|
||||
"solution": " font-size: 5vw;",
|
||||
"previewContainer": "preview-area",
|
||||
"validations": [
|
||||
{
|
||||
@@ -83,6 +85,7 @@
|
||||
"codePrefix": "/* Erstelle ein responsives Raster */\n.cards {",
|
||||
"initialCode": "",
|
||||
"codeSuffix": "}",
|
||||
"solution": " display: grid;\n grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));\n gap: 1rem;",
|
||||
"previewContainer": "preview-area",
|
||||
"validations": [
|
||||
{
|
||||
@@ -111,6 +114,7 @@
|
||||
"codePrefix": "/* Füge Mobile-First-Erweiterung hinzu */\n",
|
||||
"initialCode": "",
|
||||
"codeSuffix": "",
|
||||
"solution": "@media (min-width: 768px) {\n .sidebar {\n width: 250px;\n }\n}",
|
||||
"previewContainer": "preview-area",
|
||||
"validations": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user