-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (60 loc) · 1.76 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
<!DOCTYPE html>
<html>
<head>
<title>Device Checker</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f0f0f0;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
}
h1 {
color: #333;
}
button {
background-color: #4CAF50;
color: #fff;
padding: 10px 20px;
border: none;
border-radius: 5px;
cursor: pointer;
margin: 10px;
text-decoration: none;
}
button:hover {
background-color: #3e8e41;
}
.github-button {
background-color: #000;
color: #fff;
padding: 10px 20px;
border-radius: 80px;
cursor: pointer;
margin: 10px;
text-decoration: none;
}
.github-button:hover {
background-color: #0a6d;
}
</style>
</head>
<body>
<h1>Device Check</h1>
<button id="deviceOnButton">Is my Device on?</button>
<button id="deviceCanOpenButton">Is my Device can open this web?</button>
<a href="https://github.com/shabir-mp" target="_blank" class="github-button">Support My Project</a>
<script>
document.getElementById("deviceOnButton").addEventListener("click", function() {
alert("Yes, your device now on.");
});
document.getElementById("deviceCanOpenButton").addEventListener("click", function() {
alert("Yes, your device support to open this website.");
});
</script>
</body>
</html>