mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): allow multiline label in calorie counter step 47 (#67295)
Signed-off-by: Deepak.S <deepak.s.workdesk@gmail.com> Co-authored-by: majestic-owl448 <26656284+majestic-owl448@users.noreply.github.com>
This commit is contained in:
+1
-1
@@ -14,7 +14,7 @@ Inside your template literal, create a `label` element and give it the text `Ent
|
|||||||
You should have a `label` element inside your template literal.
|
You should have a `label` element inside your template literal.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
assert.match(code, /HTMLString\s*=\s*`\n\s*<label>.*<\/label>/);
|
assert.match(code, /HTMLString\s*=\s*`\s*<label>[\s\S]*?<\/label>/);
|
||||||
```
|
```
|
||||||
|
|
||||||
Your `label` element should have the text `Entry ${entryNumber} Name`.
|
Your `label` element should have the text `Entry ${entryNumber} Name`.
|
||||||
|
|||||||
Reference in New Issue
Block a user