-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
42 lines (39 loc) · 1.42 KB
/
index.html
File metadata and controls
42 lines (39 loc) · 1.42 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
<!--
@file index.html
@author Nicky Moreno Gonzalez
@description Main page for the timer app.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>replit</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="container">
<h1>Timer App</h1>
<div class="timers" id="timers">
<!-- Predefined Timers -->
<div class="timer-card" onclick="openTimer('Popcorn', 150, 'Perfect time for popcorn in the microwave')">
<span>Popcorn</span>
</div>
<div class="timer-card" onclick="openTimer('Soft Boiled Eggs', 300, '5 minutes for soft-boiled eggs')">
<span>Soft Boiled Eggs</span>
</div>
<div class="timer-card" onclick="openTimer('Hard Boiled Eggs', 600, '10 minutes for hard-boiled eggs')">
<span>Hard Boiled Eggs</span>
</div>
<div class="timer-card" onclick="openTimer('Milk Warmer (Microwave)', 90, 'Warm milk without overheating')">
<span>Milk Warmer (Microwave)</span>
</div>
<!-- Add custom timer -->
<div class="timer-card add-timer" onclick="addCustomTimer()">
<span>+</span>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>