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');