Exercise 10.4

This commit is contained in:
Karan 2021-11-24 22:57:41 +05:30 committed by GitHub
parent f03cd34710
commit 7ff087aa46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

15
Chapter 10/Exercise 10.4 Normal file
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>