-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
98 lines (66 loc) · 2.7 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
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
<html>
<!DOCTYPE html>
<head>
<meta charset="utf-8">
<title> Lecture Watchtime Calc </title>
<script src="Calculator.js" type="text/javascript"></script>
<link rel="stylesheet" href="styles.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/particlesjs/2.2.2/particles.min.js"></script>
</head>
<body>
<header id="header">
<h1>LectureTime Calculator</h1>
</header>
<div class = "main">
<div class= "container-left">
<div class = "labelinput">
<label class="label">Number of lectures</label>
<div>
<input type ="number" onkeyup="myCalculator()" placeholder="Number of lectures..." autocomplete="on" id="numLect" class = "input" >
</div>
</div>
<div class = "labelinput">
<div>
<label class="label">Lecture hours</label>
</div>
<div>
<input type ="number" onkeyup="myCalculator()" placeholder="...the hours" autocomplete="on" id="numHours" class = "input" >
</div>
</div>
<div class = "labelinput" >
<label class="label">Lecture minutes</label>
<div>
<input type="number" onkeyup="myCalculator()" placeholder="...and the minutes" autocomplete="on" id = "numMin" class="input">
</div>
</div>
</div>
<div class="container">
<div class = "labelinput">
<label class="label">Playback Speed</label>
<div>
<input type="number" onkeyup="myCalculator()" placeholder="...playback speed" autocomplete="on" id = "numSpeed" class="input">
</div>
</div>
</div>
<div id= "output-container">
<div>
<label class="label" id = "watchtime">Watchtime:</label>
<div>
<input type="text" placeholder="00 Hours 00 Minutes" autocomplete="on" id = "output" class="output" readonly>
</div>
<p id = "ErrorText"></p>
</div>
</div>
</div>
<div class= "alert">
<p class ="alert">
<strong> Just a heads up</strong>, this calculator assumes that all lectures are the same length.
</p>
</div>
<div class = "footer">
<span>Made by Mujsterr 2020</span>
</div>
<canvas class="background"></canvas>
</body>
</html>