forked from stravid/sleepyti.me
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
46 lines (46 loc) · 1.44 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width">
<title>Find the optimal bedtime - Sleepyti.me</title>
<link rel="stylesheet" href="style.css">
</head>
<body class="home">
<noscript>
<div id="noscript">
<div class="centerText">
Sleepyti.me Requires Javascript
</div>
</div>
</noscript>
<div id="container">
<h1 class="header">Sleepyti.me</h1>
<h2 class="header">Bedtime Calculator</h2>
<div id="mainDetails" class="centerText">
<p>Waking up in the middle of a sleep cycle leaves you feeling tired and groggy, but waking up in between cycles lets you wake up feeling refreshed and alert!</p>
<p>Sleepyti.me works by counting in 90 minute sleep cycles.</p>
</div>
<div id="resultsContainer" class="centerText">
<div>
It takes the average human fourteen minutes to fall asleep.
<br>
If you head to bed right now, you should try to wake up at one of the following times:
<ul id="results">
<li>12:00</li>
<li>12:00</li>
<li>12:00</li>
<li class="good">12:00</li>
<li class="gooder">12:00</li>
<li class="goodest">12:00</li>
</ul>
</div>
<div>
A good night's sleep consists of 5-6 complete sleep cycles.
</div>
</div>
<button class="slick-black" id="sleepNow">Sleep Now</button>
<button class="slick-black" id="back">Back</button>
</div>
</body>
<script src="sleepytime.js"></script>
</html>