Exercise 10.3

This commit is contained in:
Karan
2021-11-24 22:57:18 +05:30
committed by GitHub
parent 040be96bdf
commit f03cd34710
+15
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>