-
Notifications
You must be signed in to change notification settings - Fork 319
/
comment12.html
488 lines (439 loc) · 19.5 KB
/
comment12.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
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="https://unpkg.com/swiper/swiper-bundle.min.css" />
<link rel="shortcut icon" type="image/x-icon" href="/images/favi.webp" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
<!-- Updated Font Awesome CDN link --> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css">
<link rel="stylesheet" href="category.css">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="Scroll_and_progressbar.css">
<link rel="stylesheet" href="comment.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Comment</title>
<style>
body { background-color: #f8b5b5; color: #333; font-family: Arial, sans-serif; margin: 0; padding: 0; }
.footer { text-align: center; padding: 20px; background-color: #f8b5b5; color: white; }
body.dark-mode {
background-color: #333;
color: #f8f8f8;
}
body.dark-mode .comment-list{
background-color: #444;
color: #f8f8f8;
}
body.dark-mode .comment-list .comment{
background-color: #444;
color: #f8f8f8 !important;
}
body.dark-mode .comment-box{
background-color: #444;
color: #f8f8f8;
}
body.dark-mode .comment-box .comment {
background-color: #444;
color: #f8f8f8 !important;
}
.icon{
position: absolute;
width: 18px;
height: 18px;
top: 5px;
transition: opacity 0.3s ease;
}
/* body.dark-mode h1 {
color: #ff6666;
} */
body.dark-mode header{
background-color: #f8b5b5;
color: #f8f8f8;
}
body.dark-mode .footer {
background-color: #444;
color: #f8f8f8;
}
body.dark-mode .bg-light {
background-color:#333;
}
</style>
<!-- <script src="darkMode.js"></script> -->
<script>
document.addEventListener('DOMContentLoaded', (event) => {
const toggleSwitch = document.getElementById('checkbox');
const currentTheme = localStorage.getItem('theme');
if (currentTheme) {
document.body.classList.add(currentTheme);
if (currentTheme === 'dark-mode') {
toggleSwitch.checked = true;
}
}
toggleSwitch.addEventListener('change', function () {
if (this.checked) {
document.body.classList.add('dark-mode');
localStorage.setItem('theme', 'dark-mode');
} else {
document.body.classList.remove('dark-mode');
localStorage.setItem('theme', 'light-mode');
}
});
});
</script>
</head>
<body>
<header style="top: -4rem ;">
<div class="logo" >
<a href="index.html">
<h2>WordWise</h2>
</a>
</div>
<div class="nav-links1">
<a href="index.html">Home</a>
<a href="blog.html">Leading Blog</a>
<a href="start_writing.html">Start Writing</a>
<a href="category.html">Categories</a>
<a href="contact_us.html">Contact Us</a>
<a href="contact_us.html">Give Feedback</a>
</div>
<div class="dropdown">
<!-- Profile Icon -->
<a href="#" class="profile-icon" id="profileDropdown" onclick="toggleDropdown()">
<i class="fas fa-user-circle"></i>
</a>
<!-- Dropdown Menu -->
<ul class="dropdown-menu" id="dropdownMenu">
<li><a href="#login" onclick="openForm('login')">Login</a></li>
<li><a href="#signup" onclick="openForm('signup')">Signup</a></li>
</ul>
</div>
<!-- Login Form -->
<div class="form-popup" id="loginForm">
<form class="form-container" onsubmit="return validateLoginForm()">
<h2>Login</h2>
<label for="loginEmail"><b>Email</b></label>
<input type="email" id="loginEmail" placeholder="Enter Email" name="email" required>
<label for="loginPsw"><b>Password</b></label>
<input type="password" id="loginPsw" placeholder="Enter Password" name="psw" required minlength="6">
<div class="forgot">
<a href="javascript:void(0);" onclick="openForgotPassword()">Forgot Password?</a>
</div>
<button type="submit" class="btn">LOGIN</button>
<button type="button" class="btn cancel" onclick="closeForm('login')">CLOSE</button>
</form>
</div>
<!-- Signup Form -->
<div class="form-popup" id="signupForm">
<form class="form-container" onsubmit="return validateSignupForm()">
<h2>Signup</h2>
<div class="form-group">
<label for="name"><b>Full Name</b></label>
<input type="text" id="name" placeholder="Enter Full Name" name="name" required>
</div>
<div class="form-group">
<label for="signupEmail"><b>Email</b></label>
<input type="email" id="signupEmail" placeholder="Enter Email" name="email" required>
</div>
<div class="form-group position-relative">
<label for="signupPsw"><b>Password</b></label>
<input type="password" id="signupPsw" placeholder="Enter Password" name="psw" required minlength="6" oninput="checkPasswordStrength()">
<i class="bi bi-eye eye-icon" id="toggleSignupPassword" onclick="togglePasswordVisibility('signupPsw', 'toggleSignupPassword')"></i>
<div id="passwordStrength" class="strength-meter"></div>
</div>
<div class="form-group">
<label for="confirmPsw"><b>Confirm Password</b></label>
<input type="password" id="confirmPsw" placeholder="Confirm Password" name="confirmPsw" required minlength="6">
<span id="toggleConfirmPassword" class="toggle-button">Show</span>
</div>
<button type="submit" class="btn">SIGNUP</button>
<button type="button" class="btn cancel" onclick="closeForm('signup')">CLOSE</button>
</form>
</div>
<style>.strength-meter {
height: 10px;
width: 0;
transition: width 0.3s;
margin-top: 5px;
text-align: center;
color: black;
font-size: 12px;
}</style>
<script>function checkPasswordStrength() {
var strengthMeter = document.getElementById('passwordStrength');
var password = document.getElementById('signupPsw').value;
var strength = 0;
if (password.length >= 6) strength++;
if (password.match(/[a-z]+/)) strength++;
if (password.match(/[A-Z]+/)) strength++;
if (password.match(/[0-9]+/)) strength++;
if (password.match(/[\W]+/)) strength++;
switch (strength) {
case 0:
case 1:
strengthMeter.style.width = '20%';
strengthMeter.style.backgroundColor = 'red';
strengthMeter.textContent = 'Weak';
break;
case 2:
strengthMeter.style.width = '40%';
strengthMeter.style.backgroundColor = 'orange';
strengthMeter.textContent = 'Fair';
break;
case 3:
strengthMeter.style.width = '60%';
strengthMeter.style.backgroundColor = 'yellow';
strengthMeter.textContent = 'Good';
break;
case 4:
strengthMeter.style.width = '80%';
strengthMeter.style.backgroundColor = 'blue';
strengthMeter.textContent = 'Strong';
break;
case 5:
strengthMeter.style.width = '100%';
strengthMeter.style.backgroundColor = 'green';
strengthMeter.textContent = 'Very Strong';
break;
}
}</script>
<script src="signup.js"></script> <!-- Link to your JavaScript file -->
<!-- Forgot Password Modal -->
<div id="forgot-password-modal" class="modal">
<div class="form-container modal-content">
<h2>Forgot Password</h2>
<p>Please enter your email address to reset your password.</p>
<label for="email">Email Address</label>
<input type="email" id="email" placeholder="Enter your email" required />
<button class="btn" onclick="submitForgotPassword()">Submit</button>
<button class="btn cancel" onclick="closeForgotPasswordModal()">Cancel</button>
</div>
</div>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.css">
<script src="backend/signup/signup.js"></script> <!-- Link to your JavaScript file -->
<div class="theme-switch-wrapper">
<label class="theme-switch" for="checkbox">
<input type="checkbox" id="checkbox">
<div class="slider">
<img src="https://img.icons8.com/emoji/48/000000/sun-emoji.png" alt="Sun" class="icon sun-icon">
<img src="https://img.icons8.com/emoji/48/000000/crescent-moon-emoji.png" alt="Moon" class="icon moon-icon">
</div>
</label>
<span id="mode-label"></span>
</div>
</header>
</div>
<!--header-->
<div class="comment-session">
<div class="post-comment">
<div class="comment-list">
<div class="flex">
<div class="user">
<div class="user-image"><img src="download.jpeg" alt=""> </div>
<div class="user-meta">
<div class="name">Arthur Collins</div>
<div class="day">10 day ago</div>
</div>
</div>
<div class="reply">
<div class="like icons"><span class="count">450</span><i class="fas fa-thumbs-up"></i></div>
<div class="dislike icons"><span class="count"></span><i class="fas fa-thumbs-down"></i></div>
<div class="re-comment">Reply</div>
</div>
</div>
<div class="comment">
"Your depiction of nature's vibrant colors in 'Nature's Kaleidoscope' is mesmerizing! 🌸 The way you capture the essence of each season through its unique palette is simply beautiful. Have you ever experimented with photography to capture these moments?"
</div>
</div>
<div class="comment-list">
<div class="flex">
<div class="user">
<div class="user-image"><img src="OIP (11).jpeg" alt=""> </div>
<div class="user-meta">
<div class="name">Jihan Bhardwaj</div>
<div class="day">15 day ago</div>
</div>
</div>
<div class="reply">
<div class="like icons"><span class="count">25</span><i class="fas fa-thumbs-up"></i></div>
<div class="dislike icons"><span class="count"></span><i class="fas fa-thumbs-down"></i></div>
<div class="re-comment">Reply</div>
</div>
</div>
<div class="comment">
"Absolutely loved your latest post on Roaming Roots!
🌍 Your travel tips are always so practical and inspiring.
"Absolutely loved your post on 'Nature's Kaleidoscope'! 🦋 The symphony of colors and the life it brings to the environment is wonderfully described. What inspired you to start writing about the natural world's colorful tapestry?"
</div>
</div>
<form action="" class="comment-box">
<div class="user">
<div class="image"><img src="OIP (6).jpeg" alt=""> </div>
<div class="name">Prisha</div>
</div>
<textarea class="comment"></textarea>
<button class="comment-submit">Comment</button>
</form>
</div>
</div>
<script src="comment.js"></script>
<footer id="footer" style="margin-top: 30px;">
<div class="footer-container">
<div class="row mb-3 col-3-main">
<div class="col-3">
<div id="about-us">
<h2 class="footer-title secondary-title">About Us</h2>
<div class="secondary-title text-secondary">
<p class="mt-2 style="text-align: left;>
We are a close-knit team of passionate storytellers dedicated to sharing captivating
content with the world.
</p>
<address>
<i class="fas fa-map-marker-alt text-primary"></i>
5 South Main Street Los Angeles, ZZ-9611 USA
</address>
<div class="phone">
<i class="fas fa-mobile text-primary"></i>
125-896-485
</div>
<div class="email">
<a href="mailto: dailysupport@gmail.com" style="color: 3B3B58;"><i
class="fas fa-envelope text-primary"></i>
<span>dailysupport@gmail.com</span>
</a>
</div>
</div>
</div>
</div>
<div class="col-3" style="margin-bottom: 40px;">
<h2 class="footer-title secondary-title">Feature Post</h2>
<div class="feature-post">
<div class="flex-item">
<article class="article">
<div class="d-flex ">
<a class="d-flex" href="#">
<img src="./assets/img9.webp" class="object-fit" alt="">
<div class="px-1" style="width: 300px;">
<a href="#" class="text-title display-2 text-dark">
Embrace the beauty of nature through our enchanting blog, where we
celebrate the wonders of the natural world
</a>
<p class="secondary-title text-secondary display-3">
<span><i class="far fa-clock text-primary"></i> Wed 02, 2022 </span>
</p>
</div>
</a>
</div>
</article>
</div>
<div class="flex-item">
<article class="article">
<div class="d-flex">
<a class="d-flex" href="#">
<img src="./assets/img1.webp" class="object-fit" alt="">
<div class="px-1" style="width: 300px;">
<a href="#" class="text-title display-2 text-dark">
Embark on unforgettable journeys through our travel blog, where
wanderlust meets inspiration
</a>
<p class="secondary-title text-secondary display-3">
<span><i class="far fa-clock text-primary"></i> Wed 05, 2020 </span>
</p>
</div>
</a>
</div>
</article>
</div>
<div class="flex-item">
<article class="article">
<div class="d-flex">
<a class="d-flex" href="#">
<img src="./assets/img2.webp" class="object-fit" alt="">
<div class="px-1" style="width: 300px;">
<a href="#" class="text-title display-2 text-dark">
Gaming Adventures Unleashed
</a>
<p class="secondary-title text-secondary display-3">
<span><i class="far fa-clock text-primary"></i> Wed 02, 2021 </span>
</p>
</div>
</a>
</div>
</article>
</div>
</div>
</div>
<div class="col-3">
<h2 class="footer-title secondary-title">Popular Tags</h2>
<div class="tags">
<div class="d-flex-gap flex-wrap">
<a href="#" class="nav-link btn bg-lights">Travel</a>
<a href="#" class="nav-link btn bg-lights">Food</a>
<a href="#" class="nav-link btn bg-lights">Lifestyle</a>
<a href="#" class="nav-link btn bg-lights">Techonogy</a>
<a href="#" class="nav-link btn bg-lights">Fashion</a>
</div>
</div>
<h2 class="footer-title secondary-title mt-2">Connect with us</h2>
<div class="tags social" id="contact">
<div class="d-flex-gap flex-wrap">
<a href="https://www.facebook.com/" id="facebook"class="nav-link btn bg-light"><i class="fab fa-facebook-f"></i></a>
<a href="https://x.com/" id="twitter" class="nav-link btn bg-light"><i class="fa-brands fa-x-twitter"></i></a>
<a href="https://www.instagram.com/" id="instagram" class="nav-link btn bg-light"><i class="fab fa-instagram"></i></a>
<a href="https://dribbble.com/" id="dribbble"class="nav-link btn bg-light"><i class="fab fa-dribbble"></i></a>
<a href="https://github.com/ANSHIKA-26?tab=overview&from=2022-12-01&to=2022-12-31" id="github" target="_blank" class="nav-link btn bg-light"
><i class="fa-brands fa-github"></i></a>
</div>
</div>
</div>
</div>
</div>
<!-- the authentication copyright -->
<div class="wordwise-footer">
<div class="wordwise-footer-content">
<p>© <span id="current-year"></span> WordWise. All rights reserved.</p>
</div>
</div>
</footer><div id="back-to-top" class="back-to-top">
<i class="fas fa-arrow-up"></i>
</div>
<style>
.back-to-top {
position: fixed;
bottom: 20px;
right: 20px;
width: 50px;
height: 50px;
background-color:var(--primary-color);;
color: white;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
cursor: pointer;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
transition: opacity 0.3s;
opacity: 0;
visibility: hidden;
}
.back-to-top.show {
opacity: 1;
visibility: visible;
}
</style>
<script>
const backToTopButton = document.getElementById('back-to-top');
window.addEventListener('scroll', () => {
if (window.scrollY > 300) {
backToTopButton.classList.add('show');
} else {
backToTopButton.classList.remove('show');
}
});
backToTopButton.addEventListener('click', ()=>{
window.scrollTo({
top: 0,
behavior:'smooth'
});
});
</script>
</body>
</html>