Files
code-crispies/lessons/00-welcome.json
Michael Czechowski c0db8bba48 feat: complete section color coding with logo, hints, editor themes, and footers
- Add section-specific CodeMirror syntax highlighting (purple selectors for CSS)
- Logo now uses section colors (CSS purple as default, changes per section)
- Add section color coding for hints
- Add full footer to section and reference pages
- Fix nav highlight updates for sidebar and prev/next navigation
- Change welcome module mode to CSS for purple theme on first lesson
- Rebrand "Code Crispies" to "CODE CRISPIES" across all translations
- Fix scroll to top on section page navigation
- Change HTML section color to raspberry (#c75b7a)
2026-01-16 04:32:55 +01:00

31 lines
1.1 KiB
JSON

{
"$schema": "../schemas/code-crispies-module-schema.json",
"id": "welcome",
"title": "Welcome",
"description": "Get started with Code Crispies",
"mode": "css",
"difficulty": "beginner",
"excludeFromProgress": true,
"lessons": [
{
"id": "hello",
"title": "Getting started!",
"description": "<strong>Welcome to Code Crispies!</strong> Learn CSS and HTML through hands-on exercises.<br><br><strong>How it works:</strong><br>1. Read the task on the left<br>2. Write code in the editor<br>3. See live results in the preview<br><br><strong>Tips:</strong> Use <kbd>Ctrl+Z</kbd> to undo. Open the menu (☰) to browse all modules.",
"task": "Write <code>Hello World</code> to get started",
"previewHTML": "",
"previewBaseCSS": "body { font-family: system-ui, sans-serif; padding: 20px; text-align: center; font-size: 2rem; color: #6366f1; font-weight: bold; }",
"sandboxCSS": "",
"initialCode": "",
"solution": "Hello World",
"previewContainer": "preview-area",
"validations": [
{
"type": "contains",
"value": "Hello World",
"message": "Write <code>Hello World</code>"
}
]
}
]
}