-
Notifications
You must be signed in to change notification settings - Fork 0
/
newtab.html
56 lines (56 loc) · 1.84 KB
/
newtab.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
<!DOCTYPE html>
<html>
<head>
<title>Every Second Matters, make it worth it!!!</title>
<style>
body {
font-family: Arial, sans-serif;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
background-image: url('icon.png');
background-size: cover;
background-position: left;
background-repeat: no-repeat;
}
.container {
text-align: center;
background-color: rgba(218, 213, 213, 0.8); /* semi-transparent white */
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
#timer {
font-size: 48px;
margin: 20px 0;
}
input {
width: 50px;
margin: 5px;
}
button {
margin: 10px;
padding: 5px 10px;
}
</style>
</head>
<body>
<div class="container">
<h1>Every Second Matters Rakshit, make it worth it!!!</h1>
<div id="timer">00:00:00</div>
<div>
<input type="number" id="years" placeholder="Years" min="0" value="50">
<input type="number" id="days" placeholder="Days" min="0" max="364" value="0">
<input type="number" id="hours" placeholder="Hours" min="0" max="23" value="0">
<input type="number" id="minutes" placeholder="Minutes" min="0" max="59" value="0">
<input type="number" id="seconds" placeholder="Seconds" min="0" max="59" value="0">
<button id="notificationPermission">Enable Notifications</button>
</div>
<button id="startTimer">Start Timer</button>
<button id="stopTimer">Stop Timer</button>
</div>
<script src="newtab.js"></script>
</body>
</html>