-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
47 lines (42 loc) · 1.96 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
<!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">
<title>javaScript timer App</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="watch-container">
<div class="project-heading">
<h1>javaScript timer App</h1>
</div>
<div id="inputContainer" class="input-items">
<div class="input-group">
<label class="input-label">Hour:</label>
<input id="inputHour" placeholder="00" class="input-box" type="number">
</div>
<div class="input-group">
<label class="input-label">Minute:</label>
<input id="inputMinute" placeholder="00" min="0" max="59" class="input-box" type="number">
</div>
<div class="input-group">
<label class="input-label">Second:</label>
<input id="inputSecond" placeholder="00" min="0" max="59" class="input-box" type="number">
</div>
</div>
<p id="outputContainer"><span class="min-width" id="outputHour">00</span> : <span class="min-width" id="outputMinute">00</span> : <span class="min-width" id="outputSecond">00</span></p>
<div class="stopwatch-buttons">
<button onclick="StartClock()" class="clock-button" id="startBtn">Start</button>
<button onclick="StopClock()" class="clock-button" id="stopBtn">Stop</button>
<button onclick="ResetClock()" class="clock-button" id="reset">Reset</button>
</div>
<center>
<br>
<span>Get <a target="_blank" href="https://www.insidethediv.com/projects-with-source-code"><b>More</b></a> JavaScript Project's Source Code Free. ❤❤</span>
</center>
</div>
<script src="main.js"></script>
</body>
</html>