-
Notifications
You must be signed in to change notification settings - Fork 1
/
Index.html
61 lines (52 loc) · 1.48 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NeoLamp</title>
<link rel="stylesheet" href="Style.css">
</head>
<body>
<div class="hero">
<nav>
<a href="Index.html">
<img src="images/menu.png" class="menu-img">
</a>
<img src="images/logo.png" class="logo">
<ul>
<li><a href="Latest.html">Latest</a></li>
<li><a href="Modern.html">Modern</a></li>
<li><a href="Contemporary.html">Contemporary</a></li>
<li><a href="Affordable.html">Affordable</a></li>
</ul>
<button type="button" onclick="toggleBtn()" id="btn"><span></span></button>
</nav>
<div class="lamp-container">
<img src="images/lamp.png" class="lamp">
<img src="images/light.png" class="light" id="light">
</div>
<div class="text-container">
<h1>Latest<br> in Lighting</h1>
<p>This is the first lamp from our company.
we're making a huge collection of modern Lamps in all categories from home use to office use.</p>
</div>
<div class="text-container-">
<a href="products.html">Check All Products</a>
</div>
<div class="text-container">
<div class="control">
<p>04</p>
<div class="line"><span></span></div>
<p>05</p>
</div>
</div>
</div>
<script>
var btn = document.getElementById("btn");
var light = document.getElementById("light");
function toggleBtn(){
btn.classList.toggle("active");
light.classList.toggle("on");
}
</script>
</body>
</html>