diff --git a/curriculum/challenges/english/25-front-end-development/workshop-cat-photo-app/5dfa37b9eacea3f48c6300b0.md b/curriculum/challenges/english/25-front-end-development/workshop-cat-photo-app/5dfa37b9eacea3f48c6300b0.md index 7959a59f870..6eb4fe5d62f 100644 --- a/curriculum/challenges/english/25-front-end-development/workshop-cat-photo-app/5dfa37b9eacea3f48c6300b0.md +++ b/curriculum/challenges/english/25-front-end-development/workshop-cat-photo-app/5dfa37b9eacea3f48c6300b0.md @@ -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'); ```