-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
93 lines (85 loc) · 4.19 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="index.js"></script>
<link rel="stylesheet" href="index.css">
<title>Study Corner</title>
<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=Sora:wght@100;200;300;400;500;600;700;800&display=swap" rel="stylesheet">
</head>
<body>
<div id="container">
<div id="tools">
<br>
<h2>Tools</h2>
<br>
<div class="tool-container">
<button onclick="changeBackground()" class="tool"><img class="icon" src="icons/background.png"></button>
<h3>Background</h3>
</div>
<br>
<div class="tool-container">
<button onclick="displayTimer()" class="tool"><img class="icon" src="icons/timer.png"></button>
<h3>Timer</h3>
</div>
<br>
<div class="tool-container">
<button onclick="displayStopwatch()" class="tool"><img class="icon" src="icons/stopwatch.png"></button>
<h3>Stopwatch</h3>
</div>
<br>
<div class="tool-container">
<button onclick="displayTasks()" class="tool"><img class="icon" src="icons/tasks.png"></button>
<h3>Tasks</h3>
</div>
<div class="tool-container" id="audioTool">
<button onclick="displayAudio()" class="tool"><img class="icon" src="icons/audio.png"></button>
<h3>Audio</h3>
</div>
<br>
</div>
<div id="timer" style="display:none;" onmousedown="dragItem(this.id)">
<div id="chooseTimer">
<label class="label" for="time">Timer:</label>
<select name="minutes" id="selectMinutes"></select>
<select name="seconds" id="selectSeconds"></select>
</div>
<button onclick="displayTimer()" class="hideComponent">_</button>
<h4 id="countdown">00:00</h4>
<div id="timerButtons">
<button onclick="startTimer()" class="start">start</button>
<button onClick="stopTimer()" class="stop">stop</button>
<button onClick="resumeTimer()" class="resume">resume</button>
<button onClick="resetTimer()" class="reset">reset</button>
</div>
</div>
<div id="stopwatch" style="display:none;" onmousedown="dragItem(this.id)">
<h3 class="label">Stopwatch</h3>
<button onclick="displayStopwatch()" class="hideComponent">_</button>
<h4 id="swCountdown">00:00:00</h4>
<div id="swButtons">
<button onclick="startStopwatch()" class="start">start</button>
<button onClick="stopStopwatch()" class="stop">stop</button>
<button onClick="resumeStopwatch()" class="resume">resume</button>
<button onClick="resetStopwatch()" class="reset">reset</button>
</div>
</div>
<div id="tasks" class="header" style="display:none;" onmousedown="dragItem(this.id)">
<h3 class="label">To Do List</h3>
<button onclick="displayTasks()" class="hideComponent">_</button>
<input type="text" id="myInput" placeholder="Title..." onkeyup="enter(event)">
<span onclick="newTask()" class="addBtn">Add</span>
<ul id="myUL">
</ul>
</div>
<div id="audio" style="display:none;" onmousedown="dragItem(this.id)">
<button onclick="displayAudio()" class="hideComponent" id="hideAudio">-</button>
<iframe width="336" height="189" src="https://www.youtube.com/embed/5qap5aO4i9A" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
</div>
</body>
</html>