-
Notifications
You must be signed in to change notification settings - Fork 1
/
store.html
201 lines (184 loc) · 7.19 KB
/
store.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
<!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="/style/bootstrap.min.css" /> -->
<link rel="stylesheet" href="/style/style.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css"
integrity="sha512-xh6O/CkQoPOWDdYTDqeRdPCVd1SpvCA9XXcUnZS2FmJNp1coAFzvtCN9BmamE+4aHK8yyUHUSCcJHgXloTyT2A=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"
/>
<link rel="icon" type="image/x-icon" href="/img/logo.jpg">
<title>our E-commerce</title>
</head>
<body onload="preloader()">
<div id="loading"></div>
<!-- header start -->
<header>
<!-- nav start -->
<nva class="navbar navbar-expand-lg fixed-top navbar-bg">
<a href="/index.html" class="navbar-brand mx-2">
<img src="/img/logo.jpg" alt="" style="width: 50px" />
</a>
<button
class="navbar-toggler"
data-bs-toggle="collapse"
data-bs-target="#mynav"
type="button"
>
<i class="fas fa-bars"></i>
</button>
<div class="collapse navbar-collapse" id="mynav">
<ul class="navbar-nav mx-auto">
<li class="nav-item mx-2">
<a href="/index.html" class="nav-link">Home</a>
</li>
<li class="nav-item mx-2">
<a href="/products.html" class="nav-link">Products</a>
</li>
<li class="nav-item mx-2 nav-active">
<a href="/store.html" class="nav-link">Cart</a>
</li>
</ul>
<div class="navbar-icons d-flex">
<a class="navbar-icon mx-2 user-login">
<i class="fas fa-user"></i>
</a>
<a href="/store.html" class="navbar-icon mx-3 navbar-cart-icon">
<i class="fas fa-shopping-cart"></i>
<div class="cart-items" id="cart-item">0</div>
</a>
</div>
</div>
</nva>
<!-- nav end -->
<!-- user form start -->
<form id="form-data" class="d-none">
<div id="form" false class=" rounded-1 p-4 col-lg-6 ">
<div class="cross-container">
<span class=" my-2 btn btn-outline-dark" id="cross"><i class="fa-regular fa-circle-xmark"></i></span>
</div>
<h1 class="text-center text-capitalize p-2 bg-dark text-white">Sign in form</h1>
<div class="mb-3">
<label for="Email1" class="form-label " style="font-weight: bold;">Email address</label>
<input type="email" class="form-control" required id="Email1" >
</div>
<div class="mb-3">
<label for="InputPassword1" class="form-label" style="font-weight: bold;">Password</label>
<input type="password" class="form-control" required id="InputPassword1">
</div>
<div class="text-center">
<button type="submit" class="btn border-2 btn-outline-dark text-center mx-auto">Submit</button>
</div>
</div>
</form>
<!-- user form end -->
</header>
<!-- header end -->
<!-- main ccontainer start-------- -->
<div class="totals py-5 ">
<div class="container-fluid">
<div class="row">
<div class="col text-center text-uppercase">
<div class="row ">
<div class="col-10 mx-auto col-md-2">
<p class="text-uppercase">product</p>
</div>
<div class="col-10 mx-auto col-md-2">
<p class="text-uppercase">name of product</p>
</div>
<div class="col-10 mx-auto col-md-2">
<p class="text-uppercase">price</p>
</div>
<div class="col-10 mx-auto col-md-2">
<p class="text-uppercase">quantity</p>
</div>
<div class="col-10 mx-auto col-md-2">
<p class="text-uppercase">total</p>
</div>
</div>
<hr />
<div id="showdata">
<!-- <div class="row my-3 align-items-center">
<div class="col-10 mx-auto col-md-2">
<img
src="/img/img-2-foot-exp-whi.webp"
class="img-fluid"
alt=""
/>
</div>
<div class="col-10 mx-auto col-md-2">
<p id="product-name">product name</p>
</div>
<div class="col-10 mx-auto col-md-2">
<p>100</p>
</div>
<div class="col-10 mx-auto col-md-2">
<div class="d-flex justify-content-center align-items-center">
<span
class="btn btn-outline-dark mx-1"
onclick="decerement()"
><i class="fa-solid fa-minus"></i
></span>
<span class="btn btn-outline-dark mx-1" id="">0</span>
<span
class="btn btn-outline-dark mx-1"
onclick="increment()"
><i class="fa-solid fa-plus"></i
></span>
</div>
</div>
<div class="col-10 mx-auto col-md-2">
<p>100</p>
</div>
</div> -->
</div>
<div class="row">
<div
class="col col-sm-6 mx-auto my-5 d-flex justify-content-center flex-wrap-wrap"
>
<a href="/products.html"
><button class="btn btn-outline-dark mx-2"> continue shopping</button> </a
></a
>
<a href="/checkout.html"
><button id="checkout" class="btn btn-outline-danger "> checkout</button> </a
></a
>
</div>
</div>
<div class="row">
<div class="col col-sm-6 mx-auto my-3 ">
<span class>total price : <button class="btn btn-danger total-price">3000</button> </span>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- main container end ----- -->
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"
></script>
<!-- <script src="/js/index.js"></script> -->
<script src="/js/cart.js"></script>
<!-- <script src="/js/bootstrap.min.js"></script> -->
</body>
</html>