mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-19 04:00:56 -04:00
fix(curriculum): replace quote marks with back ticks for text (#58517)
This commit is contained in:
@@ -46,7 +46,7 @@ assert(
|
||||
);
|
||||
```
|
||||
|
||||
Your `h1` element's text should be 'CatPhotoApp'. You have either omitted the text or have a typo.
|
||||
Your `h1` element's text should be `CatPhotoApp`. You have either omitted the text or have a typo.
|
||||
|
||||
```js
|
||||
assert(document.querySelector('h1').innerText.toLowerCase() === 'catphotoapp');
|
||||
@@ -64,7 +64,7 @@ Your `h2` element should have a closing tag. Closing tags have a `/` just after
|
||||
assert(code.match(/<\/h2\>/));
|
||||
```
|
||||
|
||||
Your `h2` element's text should be 'Cat Photos'. Only place the text `Cat Photos` between the opening and closing `h2` tags.
|
||||
Your `h2` element's text should be `Cat Photos`. Only place the text `Cat Photos` between the opening and closing `h2` tags.
|
||||
|
||||
```js
|
||||
assert(document.querySelector('h2').innerText.toLowerCase() === 'cat photos');
|
||||
|
||||
Reference in New Issue
Block a user