-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (52 loc) · 1.14 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
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" type="text/css" href="main.css">
<style>
h1 {
text-align:center;
text-shadow: 5px 5px 8px red;
}
#abc1 {
font-family:sans-serif;
text-align:center;
}
textarea {
width:750px;
height:184px;
}
body {
background-color:orange;
}
button {
background-color:green;
color:white;
font-family:sans-serif;
font-weight:bold;
width:15%;
}
</style>
<script>
// get the element
const element = document.getElementById('send_msg')
// always checking if the element is clicked, if so, do alert('hello')
element.addEventListener("click", () => {
alert('hello');
});
</script>
<title>WA-Easy</title>
</head>
<body>
<h1>Welcome</h1>
<div id="abc1">
<h2>Send Message to Multiple Conacts at once</h2>
<label> Select a CSV file containing contact details:</label><br>
<input type="file" id="myfile" name="myfile"><br><br>
<label>Enter Message:</label><br><br>
<textarea></textarea><br><br>
<button id="send_msg">Send</button>
</div>
<div id="abc2">
</div>
</body>
</html>