-
Notifications
You must be signed in to change notification settings - Fork 0
/
Index.html
65 lines (64 loc) · 2.43 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Date Calculator</title>
<link rel="stylesheet" href="dateStyle.css">
</head>
<body>
<div class="container" id="top-sec">
<h1 class="large">Date Calculator</h1>
<div class="tool-info">
<p class="large">You can find the day on any date and also find a date obtained by adding or subtracting a number of days from a given date by using our awesome free tool!</p>
</div>
</div>
<div>
<form id="getDate">
<div class="row">
<div class="col-6">
<div class="date-text">
<h2>Enter date : </h2>
</div>
</div>
<div class="col-6">
<div class="input-fields">
<input class="dd" type="text" placeholder="DD" id="dayField"><label> /</label>
<input class="mm" type="text" placeholder="MM" id="monthField"><label> /</label>
<input class="yy" type="text" placeholder="YY" id="yearField">
</div>
</div>
</div>
<div class="row">
<div class="col-6">
<div class="date-text">
<h2>Add days : </h2>
</div>
</div>
<div class="col-6">
<div class="input-fields">
<input class="add" type="text" placeholder="Days" id="addField">
</div>
</div>
</div>
<div class="row">
<div class="col-6">
<div class="date-text">
<h2>Subtract days : </h2>
</div>
</div>
<div class="col-6">
<div class="input-fields">
<input class="subtract" type="text" placeholder="Days" id="subField">
</div>
</div>
</div>
<div class="row">
<div class="col-12">
<input class="add" type="submit" value="Calculate New Date">
</div>
</div>
<h2 class="result" id="resultField"></h2>
</form>
</div>
<script type="text/javascript" src="date.js"></script>
</body>
</html>