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