fix: allow HTML multiline tag syntax (#46983)
* fix: allow HTML multiline tag syntax * Update curriculum/challenges/english/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f332a88dc25a0fd25c7687a.md Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org> Co-authored-by: Muhammed Mustafa <muhammed@freecodecamp.org>pull/46956/head^2
parent
88f012878d
commit
fc17b83f2c
|
@ -38,7 +38,7 @@ assert($('p')[0].previousElementSibling.tagName === 'H1');
|
|||
Your `p` element should have the text `Est. 2020`.
|
||||
|
||||
```js
|
||||
assert(code.match(/<p>Est. 2020<\/p>/i));
|
||||
assert(document.querySelector("p").innerText === "Est. 2020");
|
||||
```
|
||||
|
||||
# --seed--
|
||||
|
|
Loading…
Reference in New Issue