-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
79 lines (76 loc) · 1.96 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HTML file for JS</title>
<link rel = "stylesheet" href = "style.css">
</head>
<body>
<!-- <h1 id = "heading">
Welcome to DOM Class
</h1>
<h1 id = "heading">
Here we are learning about DOM
</h1>
<p class="paraClass">
Lets learn about DOM in this lecture
</p>
<p class="paraClass">
Lets learn about DOM in this lecture
</p>
<button>
Click Here
</button>
<button>
Subscribe For More
</button> -->
<!-- <div>
<h2>Heroes</h2>
<h2 style="visibility: hidden;">Heroes</h2>
<ul>
<li>SuperMan</li>
<li>BatMan</li>
<li>AntMan</li>
<li>SpiderMan</li>
<li>IronMan</li>
</ul>
</div> -->
<!-- <h2>
for questino 1
Hello JavaScript
</h2> -->
<!-- <div class="box">
first div
</div>
<div class="box">
second div
</div>
<div class="box">
third div
</div> -->
<!-- here box is an attribute -->
<!-- <div id="box" name="js div">
This is a div
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
<p>Child number 2</p>
<h4>Helllo Child Number 3</h4>
</div> -->
<!-- <p class="content">I am a paragraph </p> -->
<!-- <button id="btn1">
click me!! - Button 1
</button>
<button ondblclick="console.log('a button was clicked two time')">
click me 2 times
</button> -->
<!-- <div onmouseover="console.log('you are in inside div')"> Here we are using inline event handling
this is a box heheheh
</div> -->
<!-- <h1>Sample text to check this ---- HEHEHEHE</h1> -->
<script src = "12-callbacks-promise-async-await.js"></script>
</body>
</html>