-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
67 lines (63 loc) · 3.03 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 lang="en">
<head>
<meta charset="UTF-8">
<title>Date Calculator</title>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
</head>
<body>
<div class="bg-dark">
<div class="container">
<div class="row">
<nav class="col navbar navbar-expand-lg navbar-dark">
<a class="navbar-brand" href="date_calculator.html">Date Calculator</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarContent">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbarContent" class="collapse navbar-collapse">
</div>
</nav>
</div>
</div>
</div>
<div class="container mt-5 mb-5">
<div class="card">
<div class="card-header text-center">
<h1>Date Calculator</h1>
</div>
<div class="card-body">
<form id="date_form">
<div class="form-group">
<label for="date_from">Date From:</label>
<input type="date" id="date_from" class="form-control" value="1900-01-01">
</div>
<div class="form-group">
<label for="date_to">Date To:</label>
<input type="date" id="date_to" class="form-control" value="2020-01-01">
</div>
<button class="btn btn-success" onclick="getdateValue()" type="button">Calculate</button>
</form>
<div class="form_group">
<p id="getter" class="font-weight-bold" style="font-size: 3em;"></p>
<p id="total_days" class="text-muted"></p>
<p id="total_hours" class="text-muted"></p>
<p id="total_minutes" class="text-muted"></p>
<p id="total_seconds" class="text-muted"></p>
</div>
</div>
</div>
</div>
<footer class="bg-dark py-5 text-muted text-center">
<div class="container">
<p>
<small>©Bamidele Oluwatobi</small>
</p>
<p>
<small>“Making Date Calculation very easy for Users”</small>
</p>
</div>
</footer>
<script src="script/validate.js"></script>
</body>
</html>