-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
35 lines (32 loc) · 965 Bytes
/
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
<!DOCTYPE html>
<html>
<head>
<title>Break Reminder</title>
</head>
<body>
<div id="welcomeScreen">
<h1>Time for a break!</h1>
<p>
Set your break time (in minutes):
<input type="number" id="breakTime" min="0" value="1" />
</p>
<button onclick="startBreak()">Start Your Break</button>
</div>
<div id="countdownScreen" style="display: none">
<h1>Break Time</h1>
<p id="timerDisplay">00:00</p>
<div>
Just relax and listen to your favorite sound!
<br />
Don't touch your mouse or keyboard.
</div>
<button onclick="displayWelcomeScreen()">Edit Time</button>
</div>
<div id="endScreen" style="display: none">
<h1>I hope you enjoyed your break!</h1>
<button onclick="displayWelcomeScreen()">Start Another Break</button>
<button>Start a focus session!</button>
</div>
<script src="script.js"></script>
</body>
</html>