refactor: shorten lesson titles and improve content
- Shorten verbose lesson titles for better sidebar display - Minor content improvements across lessons
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"$schema": "../schemas/code-crispies-module-schema.json",
|
||||
"id": "html-elements",
|
||||
"title": "HTML Elements: Block vs Inline",
|
||||
"title": "HTML Elements",
|
||||
"description": "Understanding the fundamental difference between container (block) and inline elements",
|
||||
"mode": "html",
|
||||
"difficulty": "beginner",
|
||||
@@ -32,7 +32,7 @@
|
||||
},
|
||||
{
|
||||
"id": "semantic-containers",
|
||||
"title": "Semantic Container Elements",
|
||||
"title": "Semantic Tags",
|
||||
"description": "Modern HTML uses semantic containers that describe their content:<br><br><kbd><header></kbd> - Page or section header<br><kbd><nav></kbd> - Navigation links<br><kbd><main></kbd> - Main content area<br><kbd><section></kbd> - Thematic grouping<br><kbd><article></kbd> - Self-contained content<br><kbd><footer></kbd> - Page or section footer",
|
||||
"task": "Create a basic page structure:<br>1. Add a <kbd><header></kbd> with an <kbd><h1></kbd> containing the text 'My Website'<br>2. Add a <kbd><main></kbd> element with a paragraph saying 'Welcome to my site!'<br>3. Add a <kbd><footer></kbd> with a paragraph saying 'Copyright 2025'",
|
||||
"previewHTML": "",
|
||||
@@ -66,7 +66,7 @@
|
||||
},
|
||||
{
|
||||
"id": "div-vs-span",
|
||||
"title": "Generic Containers: div and span",
|
||||
"title": "div & span",
|
||||
"description": "When you need a container without semantic meaning:<br><br><kbd><div></kbd> - Generic block container (for layout/grouping)<br><kbd><span></kbd> - Generic inline container (for styling text portions)<br><br>Use semantic elements when possible, div/span when no semantic element fits.",
|
||||
"task": "Wrap the word 'highlighted' in a <kbd><span></kbd> to style it differently. Wrap the whole quote in a <kbd><div></kbd>.",
|
||||
"previewHTML": "",
|
||||
|
||||
Reference in New Issue
Block a user