Chapter 10.3

This commit is contained in:
Karan 2021-11-24 22:55:56 +05:30 committed by GitHub
parent 575d53c368
commit 90556ea8e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

15
Chapter 10/Chapter 10.3 Normal file
View File

@ -0,0 +1,15 @@
<!doctype html>
<html>
<head>
<title>Dynamic event manipulation</title>
</head>
<body>
<div>Hello World 1</div>
<div>Hello World 2</div>
<div>Hello World 3</div>
<script>
const myEles = document.getElementsByTagName("div");
console.log(myEles[1]);
</script>
</body>
</html>