chore(curriculum): remove jquery from cat photo app workshop (#57580)

This commit is contained in:
Anna 2024-12-19 14:18:05 -05:00 committed by GitHub
parent fc515b2362
commit 01162c6f5c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -7,7 +7,7 @@ dashedName: step-22
# --description--
To create an unordered list of items, you can use the `ul` element.
To create an unordered list of items, you can use the `ul` element.
After the `h3` element with the `Things cats love:` text, add an unordered list (`ul`) element. Note that nothing will be displayed at this point.
@ -28,7 +28,8 @@ assert.match(code, /<\/ul>/);
The `ul` element should be above the second `section` element's closing tag.
```js
const secondSectionLastElemNode = $('main > section')[1].lastElementChild;
const secondSectionLastElemNode =
document.querySelectorAll('main > section')[1].lastElementChild;
assert.equal(secondSectionLastElemNode.nodeName, 'UL');
```