-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
33 lines (30 loc) · 1.05 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
<!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="style.css" />
</head>
<body>
<div class="control_grid">
<div class="button item1"><p>QSR</p></div>
<div class="button item2"><p>Fashion</p></div>
<div class="button item3"><p>Corporate</p></div>
<div class="button control">
<div class="small-btn item4"><p>Power On</p></div>
<div class="small-btn item5"><p>Power Off</p></div>
</div>
</div>
<div class="infoBottom"><h3>Please use this touchscreen to turn devices on and to choose a content</h3></div>
<!-- <script>
function clicked(e) {
this.classList.toggle("active");
}
const buttons = document.querySelectorAll(".button");
console.log("button",buttons)
buttons.forEach((button) => button.addEventListener("click", clicked));
</script> -->
<script src="listeners.js"></script>
</body>
</html>