mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
chore: updating hints for cat photo app (#58918)
This commit is contained in:
-12
@@ -23,18 +23,6 @@ The text inside the anchor element should not change, it must be `cat photos`.
|
||||
assert.strictEqual(document.querySelector('a').innerText, "cat photos");
|
||||
```
|
||||
|
||||
You should have the words `See more ` before the anchor element. Make sure you include the space after the last word.
|
||||
|
||||
```js
|
||||
assert.match(code, /See more <a href=/)
|
||||
```
|
||||
|
||||
You should have the words ` in our gallery` after the anchor element. Make sure you include the space before the first word.
|
||||
|
||||
```js
|
||||
assert.match(code, /<\/a> in our gallery/)
|
||||
```
|
||||
|
||||
You should have `See more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery` in your code.
|
||||
|
||||
```js
|
||||
|
||||
-12
@@ -23,18 +23,6 @@ The text inside the anchor element should not change, it must be `cat photos`.
|
||||
assert.strictEqual(document.querySelector('a')?.innerText, "cat photos");
|
||||
```
|
||||
|
||||
You should have the words `See more ` before the anchor element.
|
||||
|
||||
```js
|
||||
assert.match(code, /See more <a href="https:\/\/freecatphotoapp\.com">cat photos<\/a>/)
|
||||
```
|
||||
|
||||
You should have the words `in our gallery` after the anchor element.
|
||||
|
||||
```js
|
||||
assert.match(code, /<a href="https:\/\/freecatphotoapp\.com">cat photos<\/a> in our gallery/)
|
||||
```
|
||||
|
||||
You should have `See more <a href="https://freecatphotoapp.com">cat photos</a> in our gallery` in your code.
|
||||
|
||||
```js
|
||||
|
||||
Reference in New Issue
Block a user