forked from Avdhesh-Varshney/WebMasterLog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
101 lines (86 loc) · 3.9 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
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe"
crossorigin="anonymous"></script>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
<link rel="shortcut icon"
href="https://github.com/Avdhesh-Varshney/WebMasterLog/assets/114330097/2f48bdc6-b011-4bed-8cbb-e0e44c8aea33"
type="image/x-icon">
<title>Time Watcher</title>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<!-- Input page of Time Watcher Application -->
<div class="container box-1">
<h1 class="heading">TIME WATCHER</h1>
<form id="birthDetailsForm">
<label for="birthYear">Year of Birth:</label>
<input type="number" id="birthYear" required>
<span id="errorBirthYear" class="error-message"></span>
<label for="birthMonth">Month of Birth:</label>
<input type="number" id="birthMonth" required>
<span id="errorBirthMonth" class="error-message"></span>
<label for="birthDay">Day of Birth:</label>
<input type="number" id="birthDay" required>
<span id="errorBirthDay" class="error-message"></span>
<label for="birthHours">Hours of Birth:</label>
<input type="number" id="birthHours" required>
<span id="errorBirthHours" class="error-message"></span>
<label for="birthMinutes">Minutes of Birth:</label>
<input type="number" id="birthMinutes" required>
<span id="errorBirthMinutes" class="error-message"></span>
<label for="birthSeconds">Seconds of Birth:</label>
<input type="number" id="birthSeconds" required>
<span id="errorBirthSeconds" class="error-message"></span>
<label for="birthMilliSeconds">Milli-Seconds of Birth:</label>
<input type="number" id="birthMilliSeconds" required>
<span id="errorBirthMilliSeconds" class="error-message"></span>
</form>
<button type="button" onclick="submitBirthDetails()">Submit</button>
</div>
<!-- Main Time Watcher Application Page -->
<div class="container box-2" style="display: none;">
<h1 id="heading">TIME WATCHER</h1>
<div class="table">
<div class="row times">
<div class="col time">
<h1 id="years"></h1>
<h2 class="name">YEARS</h2>
</div>
<div class="col time">
<h1 id="months"></h1>
<h2 class="name">MONTHS</h2>
</div>
<div class="col time">
<h1 id="days"></h1>
<h2 class="name">DAYS</h2>
</div>
<div class="col time">
<h1 id="hours"></h1>
<h2 class="name">HOURS</h2>
</div>
<div class="col time">
<h1 id="minutes"></h1>
<h2 class="name">MINUTES</h2>
</div>
<div class="col time">
<h1 id="seconds"></h1>
<h2 class="name">SECONDS</h2>
</div>
<div class="col time">
<h1 id="milliseconds"></h1>
<h2 class="name">MILLI-SECONDS</h2>
</div>
</div>
</div>
</div>
<!-- JavaScript -->
<script src="./script.js"></script>
</body>
</html>