Skip to content

Commit e20e787

Browse files
authored
Add files via upload
1 parent 4d5ab12 commit e20e787

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎app4.js‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
const wmf = document.querySelector('#book-list li:nth-child(2) .name');
2+
// console.log(wmf);
3+
4+
var books = document.querySelector('#book-list li .name');
5+
// console.log(books);
6+
7+
books = document.querySelectorAll('#book-list li .name');
8+
//console.log(books);
9+
10+
Array.from(books).forEach(function(book){
11+
console.log(book);
12+
});

0 commit comments

Comments
 (0)