Skip to content

Commit 0f88d1a

Browse files
committed
fix: update strong selector example to include color property
1 parent e1e7fcb commit 0f88d1a

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

lessons/00-basic-selectors.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -110,18 +110,10 @@
110110
"value": "^strong\\s*{",
111111
"message": "Include a <kbd>strong { … }</kbd> selector"
112112
},
113-
{
114-
"type": "property_value",
115-
"value": {
116-
"property": "color",
117-
"expected": "red"
118-
},
119-
"message": "Set the <kbd>color: red</kbd> for strong elements"
120-
},
121113
{
122114
"type": "regex",
123-
"value": "strong\\s*{[^}]*}",
124-
"message": "Make sure to close your strong rule with a closing brace <kbd>}</kbd>"
115+
"value": "strong\\s*{\\s*color:\\s*red;[^}]*}",
116+
"message": "Set the <kbd>color: red</kbd> for strong elements"
125117
}
126118
]
127119
},

0 commit comments

Comments
 (0)