fix: add kbd tags to lesson messages and reorder task/description
- Replace single quotes with <kbd> tags in validation messages - German and English lessons updated for consistent formatting - Move task instruction before description in UI (index.html)
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
{
|
||||
"type": "parent_child",
|
||||
"value": { "parent": "p", "child": "strong" },
|
||||
"message": "Wrap the word 'important' with <kbd><strong></kbd> tags"
|
||||
"message": "Wrap the word <kbd>important</kbd> with <kbd><strong></kbd> tags"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -84,12 +84,12 @@
|
||||
{
|
||||
"type": "element_exists",
|
||||
"value": "span",
|
||||
"message": "Add a <kbd><span></kbd> around the word 'highlighted'"
|
||||
"message": "Add a <kbd><span></kbd> around the word <kbd>highlighted</kbd>"
|
||||
},
|
||||
{
|
||||
"type": "element_text",
|
||||
"value": { "selector": "span", "text": "highlighted" },
|
||||
"message": "The <kbd><span></kbd> should contain the word 'highlighted'"
|
||||
"message": "The <kbd><span></kbd> should contain the word <kbd>highlighted</kbd>"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user