-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathskinCare.html
377 lines (325 loc) · 9.81 KB
/
skinCare.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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
<!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">
<title>Skin Care</title>
<link rel="stylesheet" href="./HeaderNFooter/HomepageNav/Components/footer.css">
<script
src="https://kit.fontawesome.com/34483ec9ab.js"
crossorigin="anonymous"
></script>
<style>
#footer{
margin-top: -500px;
}
a{
text-decoration: none;
color:rgb(243, 57, 147) ;
}
#page_navbar2{
display: flex;
justify-content: flex-start;
gap: 20px;
width: 80%;
margin: auto;
}
#Skin{
border: 2px solid rgb(243, 57, 147);
padding: 10px 15px 10px 15px;
font-size: 14px;
font-weight: lighter;
color: rgb(112, 114, 116);
border-radius: 7px;
text-align: center;
}
#Skin:hover{
background-color: rgb(243, 57, 147);
color: white;
cursor: pointer;
}
.skin{
text-align: center;
font-weight: bold;
text-size-adjust: 10px;
}
/* #top_img{
height: 50px;
width: 20%;
margin-left: 35rem;;
;
} */
#top_2{
display: flex;
justify-content: flex-start;
width: 100%;
gap: 32rem;
height: 50px;
padding: 15px;
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
#mid_01{
width: 80%;
display: flex;
gap: 15px;
margin: auto;
}
#mid_03>h3{
margin-top: 20rem;
margin-left: 35px;
font-size: 25px;
line-height: 35px;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
font-weight: bold;
color: rgb(112, 114, 116);
text-align: justify;
}
#mid_03>p{
line-height: 35px;
margin-left: 35px;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
font-size: 20px;
text-align: justify;
word-break:keep-all;
}
#ran_2{
display: grid;
grid-template-columns: repeat(3,1fr);
grid-template-rows: repeat(3,1fr);
gap: 15px;
width: 80%;
margin: auto;
margin-top: 50px;
}
.skin_01{
height: 400px;
width: 350px
}
.countribute_01{
color: rgb(90, 93, 96);
font-size: 15px;
font-weight: bold;
}
#second_mid_2{
display: flex;
justify-content: flex-end;
width: 80%;
margin: auto;
gap: 20px;
}
#second_mid_2>div{
margin-top: -65rem;
}
#second_mid_2>div>h3{
font-size: 25px;
font-weight: bold;
color: rgb(112, 114, 116);
text-align: justify;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
line-height: 35px;
margin-top: 20rem;
}
#second_mid_2>div>h3+p{
font-size: 20px;
font-weight: bold;
color: rgb(31, 31, 31);
text-align: justify;
font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
line-height: 35px;
word-break:keep-all;
}
#SkinCare{
height: 50rem;
margin-left: 15px;
}
#bottom_div_2{
display: grid;
grid-template-columns: repeat(3,1fr);
grid-template-rows: repeat(3,1fr);
gap: 15px;
width: 80%;
margin: auto;
}
.skin_02{
height: 400px;
width: 350px;
}
.countribute_02{
color: rgb(90, 93, 96);
font-size: 16px;
font-weight: bold;
}
#below_2{
display: flex;
gap: 10px;
margin-left: 15px;
}
#below_2>p{
color: rgb(243, 57, 147);
font-size: 16px;
font-weight: bold;
}
#below_2 >.bl_2{
color: black;
font-weight: bold;
}
</style>
</head>
<body>
<div id="top_2">
<img
src="https://cdn.pixabay.com/photo/2017/11/07/07/06/menu-2925825_960_720.png"
alt=""
/>
<img
src="https://cdn2.stylecraze.com/wp-content/uploads/static-content/logos/sc-logo.png.webp"
alt=""
/>
</div>
<div id="below_2">
<p><a href="./index.html">Home</a></p>
<p class="bl_2">>></p>
<p>Skin care</p>
</div>
<h1 class="skin"><u>SKIN CARE</u></h1>
<div id="page_navbar2">
<h2 id="Skin">Sunscreen</h2>
<h2 id="Skin">Anti Ageing</h2>
<h2 id="Skin">Dry Skin</h2>
<h2 id="Skin">Glowing Skin</h2>
<h2 id="Skin">Oily Skin</h2>
<h2 id="Skin">Homemade Tips</h2>
<h2 id="Skin">Perfumes</h2>
<h2 id="Skin">Skin care Problems</h2>
<h2 id="Skin">Beauty Secrets</h2>
<h2 id="Skin">Acne</h2>
<h2 id="Skin">FacePack and Masks</h2>
</div>
<div id="mid_01">
<div>
<img id="img3"
src="https://cdn2.stylecraze.com/wp-content/uploads/2018/01/How-To-Use-Aloe-Vera-To-Treat-Burns-720x810.jpg.webp"
alt=""
/>
</div>
<div id="mid_03">
<h3>
9 Natural Ways To Use Aloe Vera For Burns
</h3>
<p>
Aloe vera is that magic plant that each of us needs to own. There is no exaggeration in calling it a magic plant with the multitude of benefits it holds for your skin and hair. You can use aloe vera […]
</p>
</div>
</div>
<!-- Append products inside div -->
<div id="ran_2">
</div>
<div id="second_mid_2">
<div>
<h3>
Turmeric Face Pack: Benefits And How To Use
</h3>
<p>
Turmeric is a common food colorant that has been used in India for centuries. Besides, turmeric is a popular ingredient that plays a key role in daily skin care. The benefits of turmeric face packs include fighting acne and keeping […]
</p>
</div>
<div>
<img id="SkinCare" src="https://cdn2.stylecraze.com/wp-content/uploads/2014/01/Turmeric-Face-Pack-Benefits-And-How-To-Use.jpg.webp" alt="">
</div>
</div>
<div id="bottom_div_2"></div>
<div id="footer">
</div>
</body>
</html>
<script type="module">
import foo from "./HeaderNFooter/HomepageNav/Components/footer.js";
document.getElementById("footer").innerHTML=foo();
document.getElementById("img3").addEventListener("click",handle3);
function handle3(){
window.location.href="./skininner.html";
}
const arr = [
{
image : "https://cdn2.stylecraze.com/wp-content/uploads/2013/12/Acne-On-Dry-Skin-Causes-Remedies-And-Tips.jpg.webp",
description : " Dry Skin Acne: 12 Home Remedies And Tips To Prevent It ",
name:"MEDICALLY REVIEWED BY DR. HARI HARA SUDHAN, MD, MD",
},
{
image : " https://cdn2.stylecraze.com/wp-content/uploads/2021/04/Why-Is-Your-Face-Darker-Than-Your-Body.jpg.webp",
description : "Is Your Face Darker Than Your Body? – Causes, Treatments, And",
name:" MEDICALLY REVIEWED BY DR. IPSHITA JOHRI, MBBS, DDV, DIPLOMA IN PRACTICAL DERMATOLOGY, MBBS, DDV",
},
{
image : " https://cdn2.stylecraze.com/wp-content/uploads/2021/04/DIY-Ginger-Face-Masks-And-Their-Benefits.jpg.webp",
description : "DIY Ginger Face Masks And Their Benefits",
name:"MEDICALLY REVIEWED BY DR. CP THAJUDHEEN, MD, MD",}
];
let append = ()=>{
let cont = document.getElementById("ran_2");
arr.forEach((ele)=>{
let card = document.createElement("div");
let name = document.createElement("h3")
name.setAttribute("class","countribute_01");
name.innerText=ele.name;
let image = document.createElement("img");
image.setAttribute("class","skin_01");
image.src=ele.image;
let h3 = document.createElement("h3")
h3.innerText=ele.description;
card.append(image,h3,name)
cont.append(card);
})
}
append()
const array = [
{
image : "https://cdn2.stylecraze.com/wp-content/uploads/2014/03/How-To-Get-Glowing-Skin-Naturally-In-A-Week.jpg.webp",
description : " Is It Possible To Get Glowing Skin Naturally In Just A Week?",
name:"BY RAMONA SINHA"
},
{
image : "https://cdn2.stylecraze.com/wp-content/uploads/2013/10/1346-15-Amazing-Benefits-Of-Sunlight-For-Skin-Hair-And-Health-iStock-178279415.jpg.webp",
description : " 15 Proven Benefits Of Sunlight For Skin, Hair, And Health",
name:"BY TANYA CHOWDARY",
},
{
image : " https://cdn2.stylecraze.com/wp-content/uploads/2018/10/10-Types-Of-Manicures-You-Should-Know-About.jpg.webp",
description : " 10 Types Of Manicures You Should Know About",
name:"MEDICALLY REVIEWED BY DR. SAMEEKSHA CHAND, MBBS, MD DVL, MBBS, MD DVL",
},
{
image:" https://cdn2.stylecraze.com/wp-content/uploads/2012/11/How-To-Get-Rid-Of-Scars-Naturally-10-Best-Home-Remedies-To-Try.jpg.webp",
description:"10 Best Home Remedies To Get Rid Of Facial Scars Naturally",
name:"MEDICALLY REVIEWED BY PATRICK, MD, FACS, MD, FACS",
},
{
image:" https://cdn2.stylecraze.com/wp-content/uploads/2012/08/Shilpa-Shetty%E2%80%99s-Makeup-And-Beauty-Secrets-Revealed-1.jpg.webp",
description: "Shilpa Shetty’s Makeup And Beauty Secrets Revealed",
name:"BY NISHA BAGHADIA",
},
{
image:"https://cdn2.stylecraze.com/wp-content/uploads/2022/02/How-To-Get-Rid-Of-Cherry-Angiomas.jpg.webp",
description:"How To Get Rid Of Cherry Angiomas",
name:"BY MONOMITA CHAKRABORTY "
}
];
let append2 = ()=>{
let cont2 = document.getElementById("bottom_div_2")
array.forEach((ele)=>{
let card1 = document.createElement("div");
let name = document.createElement("h3")
name.setAttribute("class","countribute_02");
name.innerText=ele.name;
let image = document.createElement("img");
image.setAttribute("class","skin_02");
image.src=ele.image;
let h3 = document.createElement("h3")
h3.innerText=ele.description;
card1.append(image,h3,name)
cont2.append(card1);
})
}
append2()
</script>