mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-26 13:01:43 -04:00
fix(curriculum): remove duplicate test from CatPhotoApp Step 23 (#47033)
This commit is contained in:
@@ -15,16 +15,6 @@ After the image nested in the `figure` element, add a `figcaption` element with
|
||||
|
||||
# --hints--
|
||||
|
||||
The Lasagna `img` element should be nested in the `figure` element.
|
||||
|
||||
```js
|
||||
assert(
|
||||
document.querySelector('figure > img') &&
|
||||
document.querySelector('figure > img').getAttribute('src').toLowerCase() ===
|
||||
'https://cdn.freecodecamp.org/curriculum/cat-photo-app/lasagna.jpg'
|
||||
);
|
||||
```
|
||||
|
||||
Your `figcaption` element should have an opening tag. Opening tags have the following syntax: `<elementName>`.
|
||||
|
||||
```js
|
||||
|
||||
Reference in New Issue
Block a user