-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
41 lines (34 loc) · 1.17 KB
/
index.html
File metadata and controls
41 lines (34 loc) · 1.17 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="css/style.css">
<script defer src="script/script.js"></script>
<!-- Call the sample notification script -->
<script defer src="script/notifications.js"></script>
<!-- Call the sample add tasks script -->
<script defer src="script/addtasks.js"></script>
<!-- Camera feed script -->
<script defer src="script/camera.js"></script>
</head>
<body>
<!-- for the notification script -->
<input type="button" id="notification-button"
onclick="notify('title','This is a notification','https://picsum.photos/150','https://picsum.photos')"
value="Notfiy ME!">
<!-- for adding tasks demo -->
<section>
<input type="text" id="task-text">
<input type="button" value="New" id="new-button">
<input type="button" value="Copy to clipboard"
onclick='copyToClipboard("I am a spaz")'>
</section>
<ul id="task-list">
</ul>
</section>
<video id="cameraFeed" autoplay>
</video>
</body>
</html>