-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (51 loc) · 1.8 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<meta charset="utf-8">
<title>Product App</title>
</head>
<body>
<main>
<h1>Prodcuts</h1>
<div class="carts">
<img src="cart.png" alt="" width="40" height="40">
<h5 id="items">0</h5>
</div>
<div class="options">
<div id="myBtnContainer">
<button class="btn active" onclick="filterSelection('all')"> Show all</button>
<button class="btn" onclick="filterSelection('shoes')"> Shoes</button>
<button class="btn" onclick="filterSelection('shirts')"> Shirts</button>
<button class="btn" onclick="filterSelection('machine')"> Electronics</button>
</div>
<br>
<div class="container">
<div class="filterDiv shoes">
<img src="src/nike.png" alt="">
<h3>Nike Man Flex</h3>
<h2>Rs. 8000 </h2>
<button onclick="now()" class="cart">Add To Cart</button>
</div>
<div class="filterDiv shirts">
<img src="src/shirts.png" alt="">
<h3>Shirt</h3>
<h2>Rs. 750 </h2>
<button onclick="now()" class="cart">Add To Cart</button>
</div>
<div class="filterDiv machine">
<img src="src/machine.png" alt="">
<h3>Blender Machine</h3>
<h2>Rs. 6500 </h2>
<button onclick="now()" class="cart">Add To Cart</button>
</div>
</div>
</div>
</main>
</body>
<script type="text/javascript" src="app.js">
</script>
</html>