Chapter 10.3
This commit is contained in:
parent
575d53c368
commit
90556ea8e3
15
Chapter 10/Chapter 10.3
Normal file
15
Chapter 10/Chapter 10.3
Normal 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>
|
||||||
Loading…
x
Reference in New Issue
Block a user