From 01162c6f5c0c1ed5efb03022562d02c2188408fa Mon Sep 17 00:00:00 2001 From: Anna Date: Thu, 19 Dec 2024 14:18:05 -0500 Subject: [PATCH] chore(curriculum): remove jquery from cat photo app workshop (#57580) --- .../workshop-cat-photo-app/5dfa37b9eacea3f48c6300b0.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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'); ```