-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
38 lines (29 loc) · 923 Bytes
/
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
<!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">
<link rel="stylesheet" href="bulb.css">
<title> Bulb-ON/OFF</title>
</head>
<body>
<h1>Bulb ON/OFF</h1>
<div id="upper" class="container flex">
<img class="bulboff" src="offbulb.png" alt="">
<div class="btn">
<button class="bulb-on" onclick="bulbOn()">
Turn ON
</button>
<button class="bulb-on" onclick="bulbOff()">
Turn OFF
</button>
</div>
</div>
<div id="lower" style="text-align: center;">
<img id="img" src="offbulb.png" alt="Bulb img"><br>
<button id="button" onclick="fu()">Turn OFF</button>
</div>
<script src="bulb.js"></script>
</body>
</html>