|
149 | 149 | "text-elements-as-list-children": "The text `{{-textContent}}` inside the `<{{-tag}}>` tag must be surrounded by `<{{-children}}>` tags", |
150 | 150 | "invalid-tag-location": "The `<{{-tag}}>` tag can’t go inside the `<{{-parent}}>` tag.", |
151 | 151 | "invalid-tag-parent": "The `<{{-tag}}>` tag needs to be inside the `{{-parent}}`", |
152 | | - "attribute-quotes": "You need to put the value of the `{{-attribute}}` attribute in quotation marks\nTry: `{{-attribute}}=\"myvalue\"`", |
153 | | - "attribute-value": "Every attribute needs a value.\nTry: `myattribute=\"myvalue\"`", |
| 152 | + "attribute-quotes": "You need to put the value of the `{{-attribute}}` attribute in quotation marks\nTry writing it like this: `{{-attribute}}=\"myvalue\"`", |
| 153 | + "attribute-value": "Every attribute needs a value.\nTry writing it like this: `myattribute=\"myvalue\"`", |
154 | 154 | "doctype": "The first line of your HTML should always be:\n`<!DOCTYPE html>`", |
155 | 155 | "duplicated-id": "You can't use the id \"{{-id}}\" more than once in your HTML", |
156 | 156 | "img-src": "`<img>` tags need a `src` attribute, with the URL of the image you want to display.", |
|
195 | 195 | "css": { |
196 | 196 | "missing-opening-curly": "You should have a `{` at the end of this line.", |
197 | 197 | "missing-closing-curly": "You have a starting `{` but no ending } to go with it.", |
198 | | - "property-missing-colon": "Put a colon (`:`) between the property and the value.\nTry: `color: red;`", |
199 | | - "selector-missing": "Start every block of CSS with a selector, such as an element name or class name.\nTry: `p {\n color: red;\n}`", |
| 198 | + "property-missing-colon": "Put a colon (`:`) between the property and the value.\nTry writing it like this: `color: red;`", |
| 199 | + "selector-missing": "Start every block of CSS with a selector, such as an element name or class name.\nTry writing it like this: `p {\n color: red;\n}`", |
200 | 200 | "block-expected": "Start a block using `{` after your selector.\nTry: `{{-error}} {`", |
201 | 201 | "extra-tokens-after-value": "The `{{-token}}` at the end of this line doesn’t belong there.", |
202 | 202 | "illegal-token-after-combinator": "After a `+` or `>` in a selector, you need to specify the name of another element, class, or ID", |
|
0 commit comments