Exercise 10.4

This commit is contained in:
Karan
2021-11-24 22:57:41 +05:30
committed by GitHub
parent f03cd34710
commit 7ff087aa46
+15
View File
@@ -0,0 +1,15 @@
<!doctype html>
<html>
<head>
<title>Canvas HTML5</title>
</head>
<body>
<body>
<h1 class="ele">Hello World</h1>
<div class="ele">Hello World 1</div>
<div class="ele">Hello World 3</div>
<script>
const myEles = document.getElementsByClassName("ele");
console.log(myEles[0]);
</script>
</html>