-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
35 lines (25 loc) · 690 Bytes
/
popup.html
File metadata and controls
35 lines (25 loc) · 690 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" href="popup.css">
<title>Dark Whatsapp</title>
</head>
<body>
<div class="container" id="">
<div id="header-btn">
<button class="btn" id="button">Light</button>
</div>
</div>
<script src="popup.js">
// let element = document.getElementById("button");
// element.addEventListener("click", () => {
// if (element.innerHTML === "Light")
// element.innerHTML = "Dark";
// else
// element.innerHTML = "Light";
// });
</script>
</body>
</html>