Exercise 10.1

This commit is contained in:
Karan 2021-11-24 23:04:24 +05:30 committed by GitHub
parent 0a538f3702
commit ec255f6f53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

23
Chapter 10/Exercise 10.1 Normal file
View 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