-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex-12.html
84 lines (81 loc) · 4.12 KB
/
index-12.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400&display=swap" rel="stylesheet">
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.8.1/css/all.css"
integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="assets/css/style.css">
<link rel="shortcut icon" type="image/jpg" href="assets/images/favicon.png">
<title>JavaScriptmas | Challenge 12</title>
</head>
<body>
<header>
<a href="index.html"><img src="assets/images/header.png" height="100px" width="400px" alt="Jessica's JavaScriptmas Challenge"></a>
<br><br>
<button class="challenge-icon"><a href="index-1.html">1</a></button>
<button class="challenge-icon"><a href="index-2.html">2</a></button>
<button class="challenge-icon"><a href="index-3.html">3</a></button>
<button class="challenge-icon"><a href="index-4.html">4</a></button>
<button class="challenge-icon"><a href="index-5.html">5</a></button>
<button class="challenge-icon"><a href="index-6.html">6</a></button>
<button class="challenge-icon"><a href="index-7.html">7</a></button>
<button class="challenge-icon"><a href="index-8.html">8</a></button>
<button class="challenge-icon"><a href="index-9.html">9</a></button>
<button class="challenge-icon"><a href="index-10.html">10</a></button>
<button class="challenge-icon"><a href="index-11.html">11</a></button>
<button class="challenge-icon"><a href="index-12.html">12</a></button>
<button class="challenge-icon"><a href="index-13.html">13</a></button>
<button class="challenge-icon"><a href="index-14.html">14</a></button>
<button class="challenge-icon"><a href="index-15.html">15</a></button>
<button class="challenge-icon"><a href="index-16.html">16</a></button>
<button class="challenge-icon"><a href="index-17.html">17</a></button>
<button class="challenge-icon"><a href="index-18.html">18</a></button>
<button class="challenge-icon"><a href="index-19.html">19</a></button>
<button class="challenge-icon"><a href="index-20.html">20</a></button>
<button class="challenge-icon"><a href="index-21.html">21</a></button>
<button class="challenge-icon"><a href="index-22.html">22</a></button>
<button class="challenge-icon"><a href="index-23.html">23</a></button>
<button class="challenge-icon"><a href="index-24.html">24</a></button>
</header>
<main>
<h1>12. Valid Time</h1>
<br>
<p>
Check whether a time is valid on the 24-hr clock.
</p>
<br>
<form>
<label for="time">Input 24-hr time: </label>
<br>
<input id="time" type="string" placeholder="e.g. 23:21">
<button id="submit" class="result-btn" type="submit">Validate</button>
</form>
<p class="note">*Note: Input should be in the format: 00:00</p>
<br><br>
<h3><span id="validator"></span></h3>
<br><hr><br>
<div class="arrow-div">
<div class="prev-arrow">
<button class="arrow-btn" onclick="window.location.href='index-11.html'">
<i class="fas fa-chevron-left"></i> Previous
</button>
</div>
<div class="next-arrow">
<button class="arrow-btn" onclick="window.location.href='index-13.html'">
Next <i class="fas fa-chevron-right"></i>
</button>
</div>
</div>
</main>
<script type="text/javascript" src="assets/js/script.js"></script>
<script type="text/javascript" src="assets/js/script-12.js"></script>
</body>
</html>