forked from inside-the-div/JavaScript-Simple-Projects-Timer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstopWatch.ejs
More file actions
29 lines (29 loc) · 1.13 KB
/
stopWatch.ejs
File metadata and controls
29 lines (29 loc) · 1.13 KB
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
<%- include("partials/header.ejs") %>
<body>
<div class="watch-container">
<form id="indexForm" action="/" method="get">
<input type="submit" value="Main Screen">
</form>
<div class="stopwatch">
<div class="stop-group">
<label class="stop-label">Hour:</label>
<span id="stopHour" name="hours" class="stop-box">00</span>
</div>
<div class="stop-group">
<label class="stop-label">Minute:</label>
<span id="stopMinute" name="minutes" class="stop-box">00</span>
</div>
<div class="stop-group">
<label class="stop-label">Second:</label>
<span id="stopSecond" name="seconds" class="stop-box">00</span>
</div>
</div>
<div class="stopwatch-buttons">
<button class="clock-button" id="startBtn">Start</button>
<button class="clock-button" id="stopBtn">Stop</button>
<button class="clock-button" id="reset">Reset</button>
</div>
</div>
<script src="/stopWatch.js"></script>
</body>
</html>