-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
83 lines (83 loc) · 2.8 KB
/
index.html
File metadata and controls
83 lines (83 loc) · 2.8 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>LifeSync - Your Wellness Companion</title>
<link rel="stylesheet" href="style.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;700&display=swap"
rel="stylesheet"
/>
</head>
<body>
<header>
<div class="header-container">
<h1 id="header-title">LifeSync</h1>
<div class="user-info">
<span id="user-id"
>User ID: <span id="user-id-display">12345</span></span
>
<div class="date-time">
<span id="current-date-time"></span>
</div>
</div>
</div>
</header>
<main>
<div class="dashboard-title">DASHBOARD</div>
<div class="dashboard-container">
<section class="card medicine-reminder">
<h2><i class="fas fa-pills"></i> Medicine Reminder</h2>
<label for="medicine-time">Time:</label>
<input type="time" id="medicine-time" />
<button id="set-reminder">Set Reminder</button>
<div id="medicine-reminders-list"></div>
</section>
<section class="card water-intake">
<h2><i class="fas fa-glass-water"></i> Water Intake</h2>
<div class="water-input-group">
<label for="water-goal">Daily Goal (L):</label>
<input
type="number"
id="water-goal"
placeholder="e.g., 3"
min="0"
step="0.1"
/>
<button id="set-water-goal">Set</button>
</div>
<div class="water-progress-container">
<div class="water-progress-bar">
<div class="water-fill"></div>
</div>
<span id="water-total"
>0.0 L / <span id="water-goal-display">0.0</span> L</span
>
</div>
<button id="log-water">Add 0.5L</button>
</section>
<section class="card step-tracker">
<h2><i class="fas fa-shoe-prints"></i> Step Tracker</h2>
<div class="step-count-display">
<span id="step-count">0</span> Steps
</div>
<div class="step-progress"></div>
<button id="reset-steps">Reset Steps</button>
</section>
</div>
</main>
<footer>
<p>
Project by Pied Piper, 1st Semester Students © 2025 All Rights Reserved
</p>
</footer>
<script src="script.js"></script>
</body>
</html>