-
Notifications
You must be signed in to change notification settings - Fork 52
/
countdown.html
37 lines (31 loc) · 888 Bytes
/
countdown.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
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css">
</head>
<body>
<script src="countdown.js"></script>
<div class="container">
<button id="tomato" type="button" onclick="updateDuration()">
🍅
</button>
<div id="countdown">50:00</div>
<div class="buttons">
<button type="button" onclick="playPauseCountdown()">
<div class="imageContainer">
<img id="playPause" src="playButton4x.png">
</div>
</button>
<button type="button" onclick="restartCountdown()">
<div class="imageContainer" id="resetButton">
<img src="resetButton4x.png">
</div>
</button>
</div>
<audio id="yoScottAudio">
<source src="YoScott.m4a" type="audio/mpeg">
</audio>
</div>
</body>
</html>