From 40dbe3cc45edcdea08e0e7e6c4f2b43106dbace7 Mon Sep 17 00:00:00 2001 From: Lokesh Matta Date: Fri, 29 Dec 2023 17:56:42 +0530 Subject: [PATCH] Update app.js Made some Typo changes --- 03. DOM/Starter/2. Accessnig the DOM/exercise/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/03. DOM/Starter/2. Accessnig the DOM/exercise/app.js b/03. DOM/Starter/2. Accessnig the DOM/exercise/app.js index 5954859..5bfb589 100644 --- a/03. DOM/Starter/2. Accessnig the DOM/exercise/app.js +++ b/03. DOM/Starter/2. Accessnig the DOM/exercise/app.js @@ -1,5 +1,5 @@ // 1. Select element h4 which holds text of "Red" by using getElementsByTagName -// 2. Select div with the class of "green" which holds text (Green) by using getElementsByTagName -// 3. Select div with the ID of blue which holds the text "Blue" by using getElementsByClassName +// 2. Select div with the class of "green" which holds text (Green) by using getElementsByClassName +// 3. Select div with the ID of blue which holds the text "Blue" by using getElementsById // 4. Select div which has the class & Id of "yello" by using querySelector() // 5. Select all the elements which has the class of "teal" by using querySelectorAll