FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
JavaScript-DOM-Tutorial/app.js at lesson-4 · SegaManX/JavaScript-DOM-Tutorial · GitHub
SegaManX
JavaScript-DOM-Tutorial
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
JavaScript-DOM-Tutorial
/
app.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
12 lines (9 loc) · 317 Bytes
Breadcrumbs
JavaScript-DOM-Tutorial
/
app.js
Copy path
File metadata and controls
12 lines (9 loc) · 317 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
const
wmf
=
document
.
querySelector
(
'#book-list li:nth-child(2) .name'
)
;
console
.
log
(
wmf
)
;
var
books
=
document
.
querySelector
(
'#book-list li .name'
)
;
console
.
log
(
books
)
;
books
=
document
.
querySelectorAll
(
'#book-list li .name'
)
;
console
.
log
(
books
)
;
Array
.
from
(
books
)
.
forEach
(
function
(
book
)
{
console
.
log
(
book
)
;
}
)
;
Back
|
FazBrowse Home
|
New Git URL