mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +08:00
chore(curriculum): remove jquery from cat photo app workshop (#57580)
This commit is contained in:
parent
fc515b2362
commit
01162c6f5c
@ -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');
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user