Skip to content

Commit 7cfe569

Browse files
authored
Update day06(DOM)
1 parent 4b3da5f commit 7cfe569

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

day06(DOM)

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
2. document.getElementById('id');
44
document.querySelector('#id');
5-
document.querySelectors('.className');
5+
document.querySelectorAll('.className');
66
document.querySelector('tagName');
77
eg:
88
var title = document.getElementById('title'); //<h1 id="title">Todo Tracker</h1>

0 commit comments

Comments
 (0)