-
Notifications
You must be signed in to change notification settings - Fork 0
/
index2.html
108 lines (99 loc) · 3.25 KB
/
index2.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="shortcut icon" href="#">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Shopping</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
</head>
<body>
<div class="app-container">
<div class="app-bg">
<div class="left-side"></div>
<div class="right-side"></div>
</div>
<header>
<nav>
<ul>
<li >
<a href="./">
Home
</a>
</li>
<li>
<a href="#">
Women
</a>
</li>
<li>
<a href="#">
Men
</a>
</li>
<li>
<a href="#">
Children
</a>
</li>
</ul>
</nav>
<div class="shopping-bag">
<a href="./cart.html">
<img src="./icons/bag.png" alt="cart">
Cart
<div class="total-items-in-cart">
0
</div>
</a>
</div>
</header>
<main>
<div class="content">
<div class="products-preview">
<img src="final.jpg" class="bg_image" alt="">
<div class="more-details">
<div class="description">
<small>New Season</small>
<h1> T-Shirts</h1>
<h1>Summer Wear</h1>
</div>
</div>
</div>
</div>
</main>
</div>
<div class="products-list">
<div class="products">
</div>
<div class="cart">
<div class="cart-header">
<div class="column1">Item</div>
<div class="column2">Unit price</div>
<div class="column3">Units</div>
</div>
<div class="cart-items">
</div>
<div class="cart-footer">
<div class="subtotal">
Subtotal (0 items): Rs 0
</div>
<div class="checkout">
Proceed to checkout
</div>
</div>
</div>
</div>
<script>
const porductsListEl = document.querySelector(".products-list");
const seeMoreBtn = document.querySelector(".see-more-btn");
seeMoreBtn.addEventListener('click', () => {
porductsListEl.scrollIntoView({behavior: "smooth"})
})
</script>
<script src="./products.js"></script>
<script src="./app.js"></script>
</body>
</html>