Guest User

Untitled

a guest
Dec 14th, 2017
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.31 KB | None | 0 0
  1. <body>
  2. <div class="container">
  3. <div class="row">
  4. <div class="twelve columns">
  5. <h2>sleepy time</h2>
  6. <div class="main">
  7. <p>I have to wake up at...</p>
  8. <div style="text-align:center;">
  9. <select id="hour" style="background-color:#001f3f;">
  10. <option>(hour)</option>
  11. <option>1</option>
  12. <option>2</option>
  13. <option>3</option>
  14. <option>4</option>
  15. <option>5</option>
  16. <option>6</option>
  17. <option>7</option>
  18. <option>8</option>
  19. <option>9</option>
  20. <option>10</option>
  21. <option>11</option>
  22. <option>12</option>
  23. </select>
  24. <select id="minute" style="background-color:#001f3f;">
  25. <option>(minute)</option>
  26. <option>0</option>
  27. <option>5</option>
  28. <option>10</option>
  29. <option>15</option>
  30. <option>20</option>
  31. <option>25</option>
  32. <option>30</option>
  33. <option>35</option>
  34. <option>40</option>
  35. <option>45</option>
  36. <option>50</option>
  37. <option>55</option>
  38. </select>
  39. <select id="ampm" style="background-color:#001f3f;">
  40. <option>AM</option>
  41. <option>PM</option>
  42. </select>
  43. <br>
  44. <button id="calculate">Calculate</button>
  45. <p></p>
  46. </div>
  47. <p style="text-align:center">
  48. <i>or</i>
  49. </p>
  50. <p style="font-size:100%;">
  51. Find out when to get up if you go to bed now
  52. </p>
  53. <center>
  54. <button id="zzz">ZZZ</button>
  55. </center>
  56. </div>
  57. <!--end main-->
  58. <!--starts wake up time result when to sleep-->
  59. <div id="results" style="display : none;">
  60. <p style="font-size : 150%">"You should try to " <b>fall asleep</b> " at one of the following times :</p>
  61. <span id="result1" title="Six Cycles: Nine Hours of Sleep" style="font-size: 300%; color: rgb(1, 223, 116);"></span>
  62. <i style="font-size: 200%;">or</i>
  63. <span id="result2" title="Five Cycles: Seven and a half Hours of Sleep" style="font-size: 300%; color: rgb(1, 223, 116);"></span>
  64. <i style="font-size: 200%;">or</i>
  65. <span id="result3" title="Four Cycles: Six Hours of Sleep" style="font-size: 300%; color: rgb(1, 223, 116);"></span>
  66. <i style="font-size: 200%;">or</i>
  67. <span id="result4" title="Three Cycles: Four and a half Hours of Sleep" style="font-size: 300%; color: rgb(1, 223, 116);"></span>
  68. <p style="margin-top: 1em; font-size: 150%; color: rgb(0, 128, 255);">
  69. "Please keep in mind that you sholud be "
  70. <b>falling asleep</b>
  71. " at these times."</p>
  72. <p style="font-size: 150%; color: rgb(0, 128, 255);">"The average human takes "
  73. <b>fourteen minutes</b>
  74. " to fall asleep, so plan acordingly!</p>
  75. <p style="font-size: 150%; color: rgb(153, 102, 204);">"Sleepy time works by counting backwards in "<b>sleep cycles</b>". Waking up in the middle of the cycle leaves you feeling tired and groggy, but waking up "
  76. <i>in between</i>
  77. " cycles wakes you up feeling refreshed and alert!"</p>
  78. <center>
  79. <a class="back" href="#" style="font-size:200%;">back</a>
  80. <br>
  81. </center>
  82. </div>
  83. <!--end results-->
  84. <!--starts wake up time result when to wake up-->
  85. <div id="resultsNow" style="display: none;">
  86. <p style="font-size: 150%">"It takes the average human "
  87. <b>fourteen minutes</b>
  88. " to fall asleep."
  89. </p>
  90. <p style="font-size: 150%">"If you head to bed right now, you should try to wake up at one of the following times:"</p>
  91. <span id="resultNow1" title="One Cycle: One and a half Hours of Sleep" style="font-size: 300%; color: rgb(168, 39, 254);"></span>
  92. <i style="font-size: 200%;">or</i>
  93. <span id="resultNow1" title="Two Cycle: Three Hours of Sleep" style="font-size: 300%; color: rgb(168, 39, 254);"></span>
  94. <i style="font-size: 200%;">or</i>
  95. <span id="resultNow1" title="Three Cycle: Four and a half Hours of Sleep" style="font-size: 300%; color: rgb(168, 39, 254);"></span>
  96. <i style="font-size: 200%;">or</i>
  97. <span id="resultNow1" title="Four Cycle: Six Hours of Sleep" style="font-size: 300%; color: rgb(168, 39, 254);"></span>
  98. <i style="font-size: 200%;">or</i>
  99. <span id="resultNow1" title="Five Cycle: Seven and a half Hours of Sleep" style="font-size: 300%; color: rgb(168, 39, 254);"></span>
  100. <i style="font-size: 200%;">or</i>
  101. <span id="resultNow1" title="Six Cycle: Nine Hours of Sleep" style="font-size: 300%; color: rgb(168, 39, 254);"></span>
  102. <p style="margin-top: 1em; font-size: 150%; color: rgb(0, 128, 255);">"A good night's sleep consists of 5-6 complete sleep cycles."
  103. </p>
  104. <center>
  105. <a class="back" href="#" style="font-size:200%;">back</a>
  106. <br>
  107. </center>
  108. </div>
  109. <!--end resultsNow-->
  110. </div>
  111. </div>
  112. </div>
  113. </body>
Add Comment
Please, Sign In to add comment