chore: updating hints for cat photo app (#58918)

This commit is contained in:
Jessica Wilkins
2025-02-20 18:56:32 -06:00
committed by GitHub
parent 0777004b16
commit c447d6a04d
2 changed files with 0 additions and 24 deletions
@@ -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
@@ -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