Exercise 10.1
This commit is contained in:
parent
0a538f3702
commit
ec255f6f53
23
Chapter 10/Exercise 10.1
Normal file
23
Chapter 10/Exercise 10.1
Normal file
@ -0,0 +1,23 @@
|
||||
<!doctype html>
|
||||
<html><head><title>Sample Webpage</title></head>
|
||||
<body>
|
||||
<div class="main">
|
||||
<div>
|
||||
<ul >
|
||||
<li>One</li>
|
||||
<li>Two</li>
|
||||
<li>Three</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div>blue</div>
|
||||
<div>green</div>
|
||||
<div>yellow</div>
|
||||
<div>Purple</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
console.dir(document)
|
||||
document.body.children
|
||||
document.body.children.children
|
||||
Loading…
x
Reference in New Issue
Block a user