From ba28c8128609f62f57aec818d7176b7a0bbd7816 Mon Sep 17 00:00:00 2001 From: Ritesh S Hiremath <101038279+Ritesh2351235@users.noreply.github.com> Date: Fri, 4 Oct 2024 10:11:44 +0530 Subject: [PATCH] fix(curriculum): replace jQuery with vanilla js (#56499) --- .../lab-video-compilation-page/669e81368e52b3a5c35a2dc5.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/curriculum/challenges/english/25-front-end-development/lab-video-compilation-page/669e81368e52b3a5c35a2dc5.md b/curriculum/challenges/english/25-front-end-development/lab-video-compilation-page/669e81368e52b3a5c35a2dc5.md index ab0deab586f..0f65084e66c 100644 --- a/curriculum/challenges/english/25-front-end-development/lab-video-compilation-page/669e81368e52b3a5c35a2dc5.md +++ b/curriculum/challenges/english/25-front-end-development/lab-video-compilation-page/669e81368e52b3a5c35a2dc5.md @@ -58,7 +58,7 @@ assert.equal(document.querySelectorAll('section')[0]?.previousElementSibling?.ta Each `section` element should start with an `h2` element that serves as the title for that section. ```js -const sections = $('section'); +const sections = document.querySelectorAll('section'); assert.equal(sections?.length, 3) for (let section of sections) { assert.equal(section.children[0]?.tagName, 'H2'); @@ -69,7 +69,7 @@ for (let section of sections) { Each `section` element should contain a `p` element to introduce the video content as its second child. ```js -const sections = $('section'); +const sections = document.querySelectorAll('section'); assert.equal(sections?.length, 3) for (let section of sections) { assert.equal(section.children[1]?.tagName, 'P'); @@ -80,7 +80,7 @@ for (let section of sections) { Each `section` element should contain an `iframe` element as its third child. ```js -const sections = $('section'); +const sections = document.querySelectorAll('section'); assert.equal(sections?.length, 3) for (let section of sections) { assert.equal(section.children[2]?.tagName, 'IFRAME');