-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
157 lines (151 loc) · 7.67 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
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
<!DOCTYPE html>
<html lang="en" data-theme="light">
<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">
<title>Online Shoping</title>
<link rel="shortcut icon" href="./img/fav.png" type="image/x-icon">
<link href="https://cdn.jsdelivr.net/npm/daisyui@2.50.1/dist/full.css" rel="stylesheet" type="text/css" />
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
<header>
<div class="navbar bg-base-100 shadow-2xl lg:px-12">
<div class="flex-1">
<a class="btn btn-ghost normal-case text-xl">Online-Shoping</a>
</div>
<div class="flex-none gap-2">
<div class="form-control">
<input type="text" placeholder="Search" class="input input-bordered" />
</div>
<div class="dropdown dropdown-end">
<label tabindex="0" class="btn btn-ghost btn-circle avatar">
<div class="w-10 rounded-full">
<img src="https://scontent.fdac2-1.fna.fbcdn.net/v/t39.30808-6/331264366_598478602092623_1872549601589645144_n.jpg?stp=cp6_dst-jpg&_nc_cat=102&ccb=1-7&_nc_sid=e3f864&_nc_eui2=AeF5ARoxhpGHbpMvYX_1qINxso9n3EulY7iyj2fcS6VjuPHHma3Qnu8lejgL0qk5CWAPM3965TYzs4hPBoLfXPd7&_nc_ohc=4eBAHnVl-EcAX-3vSOQ&tn=KbpQt_SM7hXYWjKj&_nc_zt=23&_nc_ht=scontent.fdac2-1.fna&oh=00_AfDHzNqPR4TBiGW3Q64aR_kome4MZzLyoePYiGg5tKBXFA&oe=63F2C836" />
</div>
</label>
<ul tabindex="0"
class="mt-3 p-2 shadow menu menu-compact dropdown-content bg-base-100 rounded-box w-52">
<li>
<a class="justify-between">
Profile
<span class="badge">New</span>
</a>
</li>
<li><a>Settings</a></li>
<li><a>Logout</a></li>
</ul>
</div>
</div>
</div>
</header>
<!-- this main aria -->
<main>
<section class="lg:px-12 flex flex-col md: flex-row lg:flex-row">
<div class="products-details w-[70%] mt-5 grid md:grid-cols-2 lg:grid-cols-3 gap-6">
<div class="card card-compact w-full bg-base-100 shadow-xl">
<figure><img class="w-full h-40 " src="./img/coffee.jpg"></figure>
<div class="card-body">
<h2 class="card-title" id="frist-name">Coffee Js</h2>
<p>Coffee Khile Aste paro eikhane vlo vlo coffe powa jai.</p>
<p>Price $<span id="frist-price">110</span></p>
<p>Quantity <span id="frist-quantity">4</span></p>
<div class="card-actions justify-end">
<button class="btn btn-primary" id="frist-card">Add To Cart</button>
</div>
</div>
</div>
<div class="card card-compact w-full bg-base-100 shadow-xl">
<figure><img class="w-full h-40 " src="./img/heart_js.jpg"></figure>
<div class="card-body">
<h2 class="card-title">Heart Js</h2>
<p>Coffee Khile Aste paro eikhane vlo vlo coffe powa jai.</p>
<p>Price $<span>210</span></p>
<p>Quantity :<span>4</span></p>
<div class="card-actions justify-end">
<button class="btn btn-primary" id="secound-card">Add To Cart</button>
</div>
</div>
</div>
<div class="card card-compact w-full bg-base-100 shadow-xl">
<figure><img class="w-full h-40 " src="./img/panda.png"></figure>
<div class="card-body">
<h2 class="card-title">Panda Js</h2>
<p>Coffee Khile Aste paro eikhane vlo vlo coffe powa jai.</p>
<p>Price $<span>310</span></p>
<p>Quantity <span>4</span></p>
<div class="card-actions justify-end">
<button class="btn btn-primary" id="third-btn">Add To Cart</button>
</div>
</div>
</div>
<div class="card card-compact w-full bg-base-100 shadow-xl">
<figure><img class="w-full h-40 " src="./img/umbrella.png"></figure>
<div class="card-body">
<h2 class="card-title">Chata Js</h2>
<p>Coffee Khile Aste paro eikhane vlo vlo coffe powa jai.</p>
<p>Price $<span>310</span></p>
<p>Quantity <span>4</span></p>
<div class="card-actions justify-end">
<button class="btn btn-primary" id="forth-btn">Add To Cart</button>
</div>
</div>
</div>
<div class="card card-compact w-full bg-base-100 shadow-xl">
<figure><img class="w-full h-40 " src="./img/vue-js.jpg"></figure>
<div class="card-body">
<h2 class="card-title" id="fifthProduct-Name">Vue Js</h2>
<p>Coffee Khile Aste paro eikhane vlo vlo coffe powa jai.</p>
<!-- <p>Price $<span>310</span></p>
<p>Quantity <span>4</span></p> -->
<input
type="text"
id="fifthProduct-price"
placeholder="Price"
class="input input-bordered w-full max-w-xs"
/>
<input
type="text"
id="fifthProduct-quantity"
placeholder="Quantity"
class="input input-bordered w-full max-w-xs"
/>
<div class="card-actions justify-end">
<button class="btn btn-primary" id="fifth-btn">Add To Cart</button>
</div>
</div>
</div>
</div>
<div class="cart-details w-full md:w-[30%] lg: w-[30%] mx-auto">
<h1 class="text-3xl text-center font-bold underline mt-5">Total Products: <span>0</span></h1>
<div class="overflow-x-auto">
<table class="table w-full">
<!-- head -->
<thead>
<tr>
<th>No</th>
<th>Name</th>
<th>Price</th>
<th>Quantity</th>
<th>Total</th>
</tr>
</thead>
<tbody id="table-container">
<!-- row 1 -->
<!-- <tr>
<th>1</th>
<td>Cy Ganderton</td>
<td>Quality Control Specialist</td>
<td>Blue</td>
</tr> -->
</tbody>
</table>
</div>
</div>
</section>
</main>
<!-- Js link -->
<script src="./main.js"></script>
</body>
</html>