Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions 03. DOM/Starter/2. Accessnig the DOM/exercise/app.js
Original file line number Diff line number Diff line change
@@ -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