-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
91 lines (75 loc) · 2.66 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
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>JS</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
HTML Run
<br />
<img
class="image"
id="image"
src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSZQVDZ9nkZbVDLKgZ4l0Hl7tIjpAUIaxUgdx_PR3E4Fg&s"
alt=""
/>
<!-- onmouseover="changeImage()"
onmouseleave="returnImage()" -->
<div id="modal" width="16px">
<p style="margin: 12px">This is modal</p>
<p>This is modal2</p>
<button onclick="hide()">Close</button>
</div>
<p>Outer P</p>
<div id="loginFrom" class="hide">Login Form</div>
<button onclick="showForm()">Sign In</button>
<!-- <button onClick="alert('Hello World!'); console.log('Hello World!')">
Click Me
</button> -->
<!-- <div onclick="console.log('not a button')">It is not button</div>
<div onmouseover="alert('Hover')">Hover</div> -->
<!-- <input type="text" onfocus="alert('Focussed')" /> -->
<!-- <input type="text" onblur="alert('out of focussed')" /> -->
<!-- <input type="text" onchange="console.log('run','onchange')" /> -->
<!-- <button onmouseup="console.log('run','mouseUp')">Click</button>
<button onkeydown="console.log('run','keydown')">Click</button>
<button onkeypress="console.log('run','kwypress')">Click</button>
<div onmousemove="console.log('mouse move')" style="background-color: red">
Mouse Move
</div>
<form action="" onsubmit="alert('submitted')">
<input type="text" />
<input type="submit" />
</form> -->
<!-- <form onsubmit="validation('name','fName','cnic')">
Name:<input type="text" id="name" /> F-Name:<input
type="text"
id="fName"
/>
Cnic:<input type="text" id="cnic" />
<div>
<div></div>
</div>
<button>submit</button>
</form> -->
<!-- <div id="myName">My Name <span>This is span</span></div> -->
<!-- {
parent : {name:"form" , att: [],children:[{element:"",textNode:true},
{element:"input" attr:[{key:"type",value:"text"}]}
{element:"div",children:[]}
] }
} -->
<!-- <div id="parent">
My Parent Div
<p>This is not parent</p>
</div>
<input type="text" id="name-input" value="Abc"/> -->
<!-- <p id="seeMore">abc</p>
<button id="seeMoreButton" onclick="showMore()">See More</button> -->
<!-- <p id="showMoreText">This is less tex....</p>
<button id="showMoreButton" onclick="showMore()">Show More</button> -->
<script src="app.js"></script>
</body>
</html>