-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
182 lines (177 loc) · 7.64 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Products | Kisan Setu</title>
<link rel="stylesheet" href="./css/style.css">
</head>
<body>
<header>
<nav>
<img src="images/KisanSetuLogo.svg" alt="logo" id="brandlogo">
<div>
<form action="" id="searchbar">
<select id="category" name="category">
<option value="All">All</option>
<option value="veg">Vegetables</option>
<option value="fruits">Fruits</option>
<option value="dryfruits">Dry Fruits</option>
</select>
<div class="searchsuggestions">
<input type="text" id="searchBar" onkeyup="showSuggestions(this.value)" placeholder="Search..">
<div id="suggestions"></div>
</div>
<button>
<svg xmlns="http://www.w3.org/2000/svg" width="1.8em" height="1.8em" viewBox="0 0 512 512">
<path fill="#FBFADA"
d="M456.69 421.39L362.6 327.3a173.81 173.81 0 0 0 34.84-104.58C397.44 126.38 319.06 48 222.72 48S48 126.38 48 222.72s78.38 174.72 174.72 174.72A173.81 173.81 0 0 0 327.3 362.6l94.09 94.09a25 25 0 0 0 35.3-35.3M97.92 222.72a124.8 124.8 0 1 1 124.8 124.8a124.95 124.95 0 0 1-124.8-124.8" />
</svg>
</button>
</form>
</div>
<div id="navbuttons">
<button>
<svg xmlns="http://www.w3.org/2000/svg" width="1.8em" height="1.8em" viewBox="0 0 24 24">
<path fill="#FBFADA"
d="M17 18c-1.11 0-2 .89-2 2a2 2 0 0 0 2 2a2 2 0 0 0 2-2a2 2 0 0 0-2-2M1 2v2h2l3.6 7.59l-1.36 2.45c-.15.28-.24.61-.24.96a2 2 0 0 0 2 2h12v-2H7.42a.25.25 0 0 1-.25-.25q0-.075.03-.12L8.1 13h7.45c.75 0 1.41-.42 1.75-1.03l3.58-6.47c.07-.16.12-.33.12-.5a1 1 0 0 0-1-1H5.21l-.94-2M7 18c-1.11 0-2 .89-2 2a2 2 0 0 0 2 2a2 2 0 0 0 2-2a2 2 0 0 0-2-2" />
</svg>
</button>
<button>
<svg xmlns="http://www.w3.org/2000/svg" width="1.8em" height="1.8em" viewBox="0 0 24 24">
<path fill="#FBFADA"
d="M12 4a4 4 0 0 1 4 4a4 4 0 0 1-4 4a4 4 0 0 1-4-4a4 4 0 0 1 4-4m0 10c4.42 0 8 1.79 8 4v2H4v-2c0-2.21 3.58-4 8-4" />
</svg>
</button>
</div>
</nav>
<div class="subnavbar">
<a href="#">All</a>
<a href="#">Today's Fresh</a>
<a href="#">Vegatables</a>
<a href="#">Fruits</a>
<a href="#">Dry Fruits</a>
</div>
</header>
<main>
<section id="filter">
<div class="starreviews">
<h4>Customer Reviews</h4>
<button>
<img src="images/Rating Stars.svg" alt="rating">
</button>
<button>
<img src="images/Rating Stars2.svg" alt="rating">
</button>
<button>
<img src="images/Rating Stars3.svg" alt="rating">
</button>
<button>
<img src="images/Rating Stars4.svg" alt="rating">
</button>
</div>
<div class="pricefilter">
<h4>Price</h4>
<button>under ₹100</button>
<button>₹100 to ₹200</button>
<button>₹200 to ₹300</button>
<button>₹300 to ₹400</button>
<form action="">
<input type="number" name="" id="" placeholder="₹min">
<input type="number" placeholder="₹max">
<button>Go</button>
</form>
</div>
</section>
<section id="products">
<div id="productsgrid">
<div class="productcard">
<div class="productimg">
<img src="images/Tomato.jpg" alt="productimg">
</div>
<h2>Tomatos</h2>
<h4>Fresh Tomato from Gujarat</h4>
<img src="images/Rating Stars4.svg" alt="rating">
<h5>Verified</h5>
<span>
<h2>₹30/</h2>
<h4>500gm</h4>
</span>
<button>Add to cart</button>
</div>
<div class="productcard">
<div class="productimg">
<img src="images/Potato.jpg" alt="productimg">
</div>
<h2>Potato</h2>
<h4>Fresh Potato from Gujarat</h4>
<img src="images/Rating Stars4.svg" alt="rating">
<h5>Verified</h5>
<span>
<h2>₹50/</h2>
<h4>500gm</h4>
</span>
<button>Add to cart</button>
</div>
<div class="productcard">
<div class="productimg">
<img src="images/Zucchini.jpg" alt="productimg">
</div>
<h2>Kasoori Methi</h2>
<h4>Fresh Kasoori Methi</h4>
<img src="images/Rating Stars4.svg" alt="rating">
<h5>Verified</h5>
<span>
<h2>₹100/</h2>
<h4>500gm</h4>
</span>
<button>Add to cart</button>
</div>
<div class="productcard">
<div class="productimg">
<img src="images/Zucchini.jpg" alt="productimg">
</div>
<h2>Kasoori Methi</h2>
<h4>Fresh Kasoori Methi</h4>
<img src="images/Rating Stars4.svg" alt="rating">
<h5>Verified</h5>
<span>
<h2>₹100/</h2>
<h4>500gm</h4>
</span>
<button>Add to cart</button>
</div>
<div class="productcard">
<div class="productimg">
<img src="images/Tomato.jpg" alt="productimg">
</div>
<h2>Tomato</h2>
<h4>Fresh Tomato from Gujarat</h4>
<img src="images/Rating Stars4.svg" alt="rating">
<h5>Verified</h5>
<span>
<h2>₹30/</h2>
<h4>500gm</h4>
</span>
<button>Add to cart</button>
</div>
<div class="productcard">
<div class="productimg">
<img src="images/Potato.jpg" alt="productimg">
</div>
<h2>Potato</h2>
<h4>Fresh Potato from Gujarat</h4>
<img src="images/Rating Stars4.svg" alt="rating">
<h5>Verified</h5>
<span>
<h2>₹50/</h2>
<h4>500gm</h4>
</span>
<button>Add to cart</button>
</div>
</div>
</section>
</main>
<script src="./js/script.js"></script>
</body>
</html>