-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome_html
More file actions
216 lines (199 loc) · 8.45 KB
/
home_html
File metadata and controls
216 lines (199 loc) · 8.45 KB
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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="home.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css">
<title>Home page</title>
</head>
<body>
<!-- header section -->
<header>
<input type="checkbox" name="" id="toggler">
<label for="toggler" class="fas fa-bars"></label>
<a href="#home" class="logo">FLOWER<span style="color: red;">.</span></a>
<nav class="navbar">
<a href="#home">Home</a>
<a href="#about">About</a>
<a href="shop.html">Shop</a>
<a href="#product">Product</a>
<a href="#contact">Contact</a>
</nav>
<div class="icons">
<a href="wishlist.html" class="fas fa-heart"></a>
<a href="#" class="fas fa-shopping-cart"></a>
<a href="Login.html" class="fas fa-user"></a>
</div>
</header>
<!-- header section ends -->
<!-- Home section -->
<section class="home" id="home">
<div class="content">
<h1>Fresh Flowers</h1>
<h3>Natural & Beautiful Flowers</h3>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Illo atque,excepturi nihil ab abht ekfnipwe iure
illum labore explicabo commodi quasi enim </p>
<a href="#product" class="btn">Shop Now</a>
</div>
</section>
<!-- home section ends -->
<!-- about us section -->
<section class="about" id="about">
<div class="heading">
<h2><span style="color: palevioletred;">About</span> Us</h2>
</div>
<div class="about-content">
<div class="video">
<video src="Villiviini Flower Shop – Commercial Video 2019.mp4" controls loop></video>
</div>
<div class="about_text">
<h3><b>Why Choose Us?</b></h3>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Necessitatibus fugit nulla quasi quo ex
voluptatem nesciunt aut, aliquam sapiente nihil maxime, voluptatibus ratione alias est earum vero
corporis <br><br>odit seq5ui laborum, reiciendis nostrum minus cupiditate repellat facere? Obcaecati
fugit sunt delectus fugiat nostrum natus molestias nisi tempore expedita nulla cumque alias .</p>
<div class="about-btn">
<a href="#" class="a-btn">Learn More</a>
</div>
</div>
</div>
</section>
<!-- about us section ends -->
<!-- products section -->
<section class="product" id="product">
<div class="heading">
<h2>Latest<span style="color: palevioletred;"> Products</span> </h2>
</div>
<div class="box-container">
<div class="box">
<span class="discount">-10%</span>
<div class="image">
<img src="rose.jpg" alt="rose">
<div class="icons">
<a href="#" class="fas fa-heart"></a>
<a href="#" class="fas fa-shopping-cart"></a>
<a href="#" class="fas fa-share"></a>
</div>
<div class="content">
<h3>Roses</h3>
<div class="quantity-selector">
<button class="dec">-</button>
<input type="number" min="1" value="1" class="quantity-input">
<button class="inc">+</button>
</div>
<p class="price">15.99 <span class="original-price">$18.99</span></p>
</div>
</div>
</div>
<div class="box">
<span class="discount">-10%</span>
<div class="image">
<img src="Lillies.jpg" alt="rose">
<div class="icons">
<a href="#" class="fas fa-heart"></a>
<a href="#" class="fas fa-shopping-cart"></a>
<a href="#" class="fas fa-share"></a>
</div>
</div>
<div class="content">
<h3>Lillies</h3>
<div class="quantity-selector">
<button class="dec">-</button>
<input type="number" min="1" value="1" class="quantity-input">
<button class="inc">+</button>
</div>
<p class="price">15.99 <span class="original-price">$18.99</span></p>
</div>
</div>
<div class="box">
<span class="discount">-10%</span>
<div class="image">
<img src="sunflower.jpg" alt="rose">
<div class="icons">
<a href="#" class="fas fa-heart"></a>
<a href="#" class="fas fa-shopping-cart"></a>
<a href="#" class="fas fa-share"></a>
</div>
</div>
<div class="content">
<h3>Sunflowers</h3>
<div class="quantity-selector">
<button class="dec">-</button>
<input type="number" min="1" value="1" class="quantity-input">
<button class="inc">+</button>
</div>
<p class="price">15.99 <span class="original-price">$18.99</span></p>
</div>
</div>
<div class="box">
<span class="discount">-10%</span>
<div class="image">
<img src="tulips.jpg" alt="rose">
<div class="icons">
<a href="#" class="fas fa-heart"></a>
<a href="#" class="fas fa-shopping-cart"></a>
<a href="#" class="fas fa-share"></a>
</div>
</div>
<div class="content">
<h3>Tulips</h3>
<div class="quantity-selector">
<button class="dec">-</button>
<input type="number" min="1" value="1" class="quantity-input">
<button class="inc">+</button>
</div>
<p class="price">15.99 <span class="original-price">$18.99</span></p>
</div>
</div>
</div>
</section>
<!-- products section end -->
<!-- footer section starts -->
<section class="footer" id="contact">
<div class="box-container">
<div class="box">
<h3>Quick links</h3>
<a href="#home">Home</a>
<a href="#about">About</a>
<a href="#product">Product</a>
<a href="#contact">Contact</a>
</div>
<div class="box">
<h3>Extra links</h3>
<a href="Login.html">My Accounts</a>
<a href="#my_order">My Orders</a>
<a href="wishlist.html">My Favorites</a>
</div>
<div class="box">
<h3>Contact Info</h3>
<ul>
<a href="number">+91 208098908</a>
<a href="email">Flower_web@gmail.com</a>
<a href="https://www.google.com/maps?q=Coimbatore,+Tamil+Nadu" target="_blank">Coimbatore, Tamil Nadu</a>
</ul>
</div>
</div>
<div class="credit">
© Created by <span style="color:red">Dishitha</span> All Right Reserved.
</div>
</section>
<!-- footer section ends -->
<!-- Quantity Script -->
<script>
document.querySelectorAll('.inc').forEach(button => {
button.addEventListener('click',() => {
const input= button.previousElementSibling;
input.value =parseInt(input.value)+1;
});
});
document.querySelectorAll('.dec').forEach(button => {
button.addEventListener('click',() => {
const input= button.nextElementSibling;
const newValue =parseInt(input.value)-1;
input.value = newValue <1 ?1 : newValue;
});
});
</script>
</body>
</html>