-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreading_timer.php
31 lines (28 loc) · 1.06 KB
/
reading_timer.php
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Reading Timer</title>
<link rel="stylesheet" href="css/reading_timer.css">
</head>
<body>
<div class="timer-container">
<h2>Reading Timer</h2>
<form id="readingTimerForm">
<label for="reading_time">Set Reading Time (minutes):</label>
<input type="number" id="reading_time" name="reading_time" min="1" required>
<button type="submit">Start Timer</button>
</form>
<div id="timerDisplay" class="hidden">
<h3>Time Remaining: <span id="timeRemaining"></span> seconds</h3>
</div>
<div id="quoteDisplay" class="hidden">
<h3>Your Motivational Quote:</h3>
<p id="motivationalQuote"></p>
</div>
</div>
<button id="back-home" onclick="location.href='welcome.php'">Back to Home Page</button>
<script src="js/reading_timer.js"></script>
</body>
</html>