diff --git a/lessons/98-playground.json b/lessons/98-playground.json index 606447e..57a0a0a 100644 --- a/lessons/98-playground.json +++ b/lessons/98-playground.json @@ -1,7 +1,7 @@ { "$schema": "../schemas/code-crispies-module-schema.json", "id": "playground", - "title": "HTML & CSS Editor", + "title": "Playground", "description": "Experiment freely with HTML and CSS", "mode": "playground", "difficulty": "beginner", @@ -9,7 +9,7 @@ "lessons": [ { "id": "sandbox", - "title": "Editor", + "title": "HTML & CSS Editor", "mode": "playground", "description": "", "task": "", diff --git a/src/app.js b/src/app.js index d8fc76a..b9cf9cb 100644 --- a/src/app.js +++ b/src/app.js @@ -1345,11 +1345,14 @@ const referenceContent = {
widthwidth: 100%;heightheight: 200px;min-widthmin-width: 200px;min-heightmin-height: 100vh;max-widthmax-width: 600px;paddingpadding: 1rem 2rem;marginmargin: 0 auto;borderborder: 1px solid gray;border-radiusborder-radius: 8px;border-collapseborder-collapse: collapse;box-sizingbox-sizing: border-box;<em><em>really</em><code><code>const x</code><pre><blockquote><blockquote cite="src"><span><br><hr>| Element | Purpose | Example |
|---|---|---|
<time> | Date/time | <time datetime="2024-01-15"> |
<mark> | Highlighted text | <mark>important</mark> |
<small> | Fine print | Legal text, copyright |
<abbr> | Abbreviation | <abbr title="HyperText">HTML</abbr> |
<kbd> | Keyboard input | <kbd>Ctrl+C</kbd> |
<sub> | Subscript | H2O |
<sup> | Superscript | x2 |
<ins> | Inserted text | Shows additions |
<del> | Deleted text | Shows removals |