forked from thapatechnical/blogwebsitehtmlcss
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathblog.html
More file actions
392 lines (389 loc) · 27.8 KB
/
blog.html
File metadata and controls
392 lines (389 loc) · 27.8 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
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
<!doctype html>
<html lang="en">
<head>
<title>Thapa Blpg</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/css/bootstrap.min.css" integrity="sha384-r4NyP46KrjDleawBgD5tp8Y7UzmLA05oM1iAEQ17CSuDqnUK2+k9luXQOfXJCJ4I" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="css/style.css">
<style type="text/css">
</style>
</head>
<body>
<header class="main_header">
<div class="d-flex justify-content-center align-items-center flex-column py-5">
<h1 class="text-uppercase main_heading">Thapa Technical</h1>
<p class="main_heading__para">Welcome to my <span class="text-capitalize bg-dark text-white py-2 px-3"> world of blog</span> </p>
</div>
<!-- //the main image -->
<div class="main_header__div d-flex align-items-start
justify-content-center flex-column shadow pl-5">
<p>Thapa Technical</p>
<!-- <h2 class="text-uppercase">the Progammer guy</h2> -->
<h2 class="animateWord">
<span>He is</span>
<div>
<!-- Use classes 2,3, or 4 to match the number of words -->
<ul class="flip4">
<li> a Progammer </li>
<li> a Youtuber</li>
<li> a Freelancer</li>
<li> Awesome </li>
</ul>
</div>
</h2>
<button class="text-uppercase">subscribe</button>
</div>
</header>
<!-- header ends -->
<!-- two sided blog part starts -->
<div class="container-fluid ">
<div class="row ">
<!-- to get the space form left and right -->
<div class="col-xl-10 col-lg-10 col-md-12 col-11 mx-auto my-5">
<div class="row gx-5 mx-sm-auto">
<!-- left side of the blog -->
<div class="col-lg-8 col-md-11 col-11 mx-auto">
<div class="row gy-5 ">
<div class="col-12 card p-4 shadow blog_left__div">
<div class="d-flex justify-content-center align-items-center flex-column pt-3 pb-5 ">
<h1 class="text-uppercase">Best Laptop in 2020</h1>
<p class="blog_title"> <span class="font-weight-bold"> Title description, </span> Aug 12, 2020 </p>
</div>
<figure class="right_side_img mb-5">
<img src="https://images.pexels.com/photos/3815750/pexels-photo-3815750.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260" class="img-fluid shadow">
</figure>
<p><span class="font-weight-bold">Thapa Technical</span> Welcomes, all of you to my world of blog. Some text about this blog entry. Fashion fashion and mauris neque quam, fermentum ut nisl vitae, convallis maximus nisl. Sed mattis nunc id lorem euismod placerat. Vivamus porttitor magna enim, ac accumsan tortor cursus at. Phasellus sed ultricies mi non congue ullam corper. Praesent tincidunt sedtellus ut rutrum. Sed vitae justo condimentum, porta lectus vitae, ultricies congue gravida diam non fringilla.</p>
<p>
Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco.
</p>
<div class="d-flex justify-content-between left_div_btns">
<div>
<button class="left_div__like" id="like_btn"><i class="fa fa-thumbs-up"></i>Like</button>
</div>
<div>
<button class="left_div__reply" onclick="reply('reply1')">Replies <badge class="bg-white text-dark p-2">1</badge></button>
</div>
</div>
<div class="replies" id="reply1">
<div class="d-flex justify-content-start flex-row align-items-center card reply_card py-3 ">
<div class=" reply_img mx-2 align-self-center ">
<img src="https://img.icons8.com/doodle/48/000000/user-male-skin-type-5.png" />
</div>
<div class="reply_text__left">
<p class="blog_title "> <span class="font-weight-bold"> Thapa, </span> Aug 12, 2020, 7:20 PM </p>
<p>Awesome, Bro I love your content.</p>
</div>
</div>
</div>
</div>
<!-- 2nd topic -->
<div class="col-12 card p-4 shadow blog_left__div">
<div class="d-flex justify-content-center align-items-center flex-column pt-3 pb-5 ">
<h1 class="text-uppercase">Title Heading</h1>
<p class="blog_title"> <span class="font-weight-bold"> Title description, </span> Aug 12, 2020 </p>
</div>
<figure class="right_side_img mb-5">
<img src="https://images.pexels.com/photos/4050291/pexels-photo-4050291.jpeg?auto=compress&cs=tinysrgb&dpr=3&h=750&w=1260" class="img-fluid shadow">
</figure>
<p><span class="font-weight-bold">Thapa Technical</span> Welcomes, all of you to my world of blog. Some text about this blog entry. Fashion fashion and mauris neque quam, fermentum ut nisl vitae, convallis maximus nisl. Sed mattis nunc id lorem euismod placerat. Vivamus porttitor magna enim, ac accumsan tortor cursus at. Phasellus sed ultricies mi non congue ullam corper. Praesent tincidunt sedtellus ut rutrum. Sed vitae justo condimentum, porta lectus vitae, ultricies congue gravida diam non fringilla.</p>
<p>
Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco.
</p>
<div class="d-flex justify-content-between left_div_btns">
<div>
<button class="left_div__like" id="like_btn"><i class="fa fa-thumbs-up"></i>Like</button>
</div>
<div>
<button class="left_div__reply" onclick="reply('reply2')">Replies <badge class="bg-white text-dark p-2">2</badge></button>
</div>
</div>
<div class="replies" id="reply2">
<div class="d-flex justify-content-start flex-row align-items-center card reply_card py-3 ">
<div class=" reply_img mx-2 align-self-center ">
<img src="https://img.icons8.com/doodle/48/000000/user-male-skin-type-5.png" />
</div>
<div class="reply_text__left">
<p class="blog_title "> <span class="font-weight-bold"> Vinod, </span> Aug 11, 2020, 7:20 PM </p>
<p>I really like the way you teach. Subscribed :)</p>
</div>
</div>
<div class="d-flex justify-content-start flex-row align-items-center card reply_card py-3 ">
<div class=" reply_img mx-2 align-self-center ">
<img src="https://img.icons8.com/doodle/48/000000/user-male-skin-type-5.png" />
</div>
<div class="reply_text__left">
<p class="blog_title "> <span class="font-weight-bold"> Thapa, </span> Aug 12, 2020, 7:20 PM </p>
<p>Awesome, Bro I love your content.</p>
</div>
</div>
</div>
</div>
<!-- 3rd topic -->
<div class="col-12 card p-4 shadow blog_left__div">
<div class="d-flex justify-content-center align-items-center flex-column pt-3 pb-5 ">
<h1 class="text-uppercase">Title Heading</h1>
<p class="blog_title"> <span class="font-weight-bold"> Title description, </span> Aug 12, 2020 </p>
</div>
<figure class="right_side_img mb-5">
<img src="https://images.pexels.com/photos/4050303/pexels-photo-4050303.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260" class="img-fluid shadow">
</figure>
<p><span class="font-weight-bold">Thapa Technical</span> Welcomes, all of you to my world of blog. Some text about this blog entry. Fashion fashion and mauris neque quam, fermentum ut nisl vitae, convallis maximus nisl. Sed mattis nunc id lorem euismod placerat. Vivamus porttitor magna enim, ac accumsan tortor cursus at. Phasellus sed ultricies mi non congue ullam corper. Praesent tincidunt sedtellus ut rutrum. Sed vitae justo condimentum, porta lectus vitae, ultricies congue gravida diam non fringilla.</p>
<p>
Sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco.
</p>
<div class="d-flex justify-content-between left_div_btns">
<div>
<button class="left_div__like" id="like_btn"><i class="fa fa-thumbs-up"></i>Like</button>
</div>
<div>
<button class="left_div__reply" onclick="reply('reply3')">Replies <badge class="bg-white text-dark p-2">4</badge></button>
</div>
</div>
<div class="replies" id="reply3">
<div class="d-flex justify-content-start flex-row align-items-center card reply_card py-3 ">
<div class=" reply_img mx-2 align-self-center ">
<img src="https://img.icons8.com/doodle/48/000000/user-male-skin-type-5.png" />
</div>
<div class="reply_text__left">
<p class="blog_title "> <span class="font-weight-bold"> Thapa, </span> Aug 12, 2020, 7:20 PM </p>
<p>Awesome, Bro I love your content.</p>
</div>
</div>
<div class="d-flex justify-content-start flex-row align-items-center card reply_card py-3 ">
<div class=" reply_img mx-2 align-self-center ">
<img src="https://img.icons8.com/doodle/48/000000/user-male-skin-type-5.png" />
</div>
<div class="reply_text__left">
<p class="blog_title "> <span class="font-weight-bold"> Thapatechnical, </span> Aug 12, 2020, 7:20 PM </p>
<p>Awesome, Bro I love your content.</p>
</div>
</div>
<div class="d-flex justify-content-start flex-row align-items-center card reply_card py-3 ">
<div class=" reply_img mx-2 align-self-center ">
<img src="https://img.icons8.com/doodle/48/000000/user-male-skin-type-5.png" />
</div>
<div class="reply_text__left">
<p class="blog_title "> <span class="font-weight-bold"> vinod, </span> Aug 12, 2020, 7:20 PM </p>
<p>Awesome, Bro I love your content.</p>
</div>
</div>
<div class="d-flex justify-content-start flex-row align-items-center card reply_card py-3 ">
<div class=" reply_img mx-2 align-self-center ">
<img src="https://img.icons8.com/doodle/48/000000/user-male-skin-type-5.png" />
</div>
<div class="reply_text__left">
<p class="blog_title "> <span class="font-weight-bold"> Thapa, </span> Aug 12, 2020, 7:20 PM </p>
<p>Awesome, Bro I love your content.</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- *******************************************************
**********************************************************.
right side of the div
*******************************************************
**********************************************************
-->
<div class="col-lg-3 col-md-7 col-11 justify-content-end m-lg-0 m-auto ">
<div class="row gy-5 left_div__blog">
<!-- about me -->
<div class="col-12 about_me_div shadow">
<p>Vinod Thapa</p>
<p>Just me, myself and I, exploring the universe of uknownment. I have a heart of love and a interest of lorem ipsum and mauris neque quam blog. I want to share my world with you.</p>
</div>
<!-- popular post -->
<div class=" popular_post ">
<div class="right_div__title py-4 pl-2 ">
<h2>Popular Posts</h2>
</div>
<div class="right_sub__div shadow">
<div class="row ">
<div class="col-3 popular_post__img1 py-2 pl-2">
</div>
<div class="col-9">
<h3>Bill Gates</h3>
<p class="text-capitalize">CEO Microsoft</p>
</div>
</div>
<div class="row ">
<div class="col-3 popular_post__img2 py-2 pl-2">
</div>
<div class="col-9">
<h3>Mark Zuckerberg </h3>
<p class="text-capitalize">Programmer</p>
</div>
</div>
<div class="row ">
<div class="col-3 popular_post__img3 py-2 pl-2">
</div>
<div class="col-9">
<h3>Jeff Bezos</h3>
<p class="text-capitalize">Amazon</p>
</div>
</div>
<div class="row ">
<div class="col-3 popular_post__img4 py-2 pl-2">
</div>
<div class="col-9">
<h3>Steve Jobs</h3>
<p class="text-capitalize">Apple</p>
</div>
</div>
</div>
</div>
<!-- advertise -->
<div class=" right_div_post">
<div class="right_div__title py-4 pl-2 ">
<h2>Advertise</h2>
</div>
<div class="right_sub__div ">
<div class="adevetise_img bg-light shadow">
<p>Ads goes here</p>
</div>
</div>
</div>
<!-- tags -->
<div class=" right_div_post">
<div class="right_div__title py-4 pl-2 ">
<h2>Tags</h2>
</div>
<div class="tags_main right_sub__div">
<a href="https://youtu.be/5p8e2ZkbOFU" target="_thapa" class="badge shadow text-capitalize"> html </a>
<a href="#" class="badge shadow text-capitalize"> css </a>
<a href="#" class="badge shadow text-capitalize"> js </a>
<a href="#" class="badge shadow text-capitalize"> react </a>
<a href="#" class="badge shadow text-capitalize"> vue </a>
<a href="#" class="badge shadow text-capitalize"> php </a>
<a href="#" class="badge shadow text-capitalize"> python </a>
<a href="#" class="badge shadow text-capitalize"> kotlin </a>
<a href="#" class="badge shadow text-capitalize"> c++ </a>
<a href="#" class="badge shadow text-capitalize"> java </a>
</div>
</div>
<!-- Inspiration -->
<div class=" right_div_post">
<div class="right_div__title py-4 pl-2 ">
<h2>Inspiration</h2>
</div>
<div class="right_sub__div">
<div class="row gx-3">
<div class="col-6">
<figure>
<img src="https://images.pexels.com/photos/196659/pexels-photo-196659.jpeg?auto=compress&cs=tinysrgb&h=750&w=1260" class="img-fluid shadow">
</figure>
</div>
<div class="col-6">
<figure>
<img src="https://images.pexels.com/photos/34140/pexels-photo.jpg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260" class="img-fluid shadow">
</figure>
</div>
<div class="col-6">
<figure>
<img src="https://images.pexels.com/photos/38547/office-freelancer-computer-business-38547.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=750&w=1260" class="img-fluid shadow">
</figure>
</div>
<div class="col-6">
<figure>
<img src="https://images.pexels.com/photos/196659/pexels-photo-196659.jpeg?auto=compress&cs=tinysrgb&h=750&w=1260" class="img-fluid shadow">
</figure>
</div>
</div>
</div>
</div>
<!-- Follow Me -->
<div class=" right_div_post">
<div class="right_div__title py-4 pl-2 ">
<h2>Follow Me</h2>
</div>
<div class="right_sub__div d-flex justify-content-around">
<a href="#"> <i class="fab fa-facebook-square fa-3x"></i></a>
<a href="https://www.instagram.com/vinodthapa55/" target="_thapa"> <i class="fab fa-3x fa-instagram"></i></a>
<a href="#"> <i class="fab fa-3x fa-github-square"></i> </a>
<a href="#"> <i class="fab fa-3x fa-twitter-square"></i></a>
<a href="#"> <i class="fab fa-3x fa-youtube-square"></i> </a>
<a href="#"> <i class="fab fa-3x fa-linkedin"></i></a>
</div>
</div>
<!-- Subscribe -->
<div class=" right_div_post">
<div class="right_div__title py-4 pl-2 ">
<h2>Subscribe</h2>
</div>
<div class="right_sub__div">
<form>
<div class="mb-3">
<label for="exampleFormControlInput1" class="form-label">Enter your e-mail below and get notified on the latest blog posts.</label>
<input type="email" class="form-control mt-2" id="exampleFormControlInput1" placeholder="name@example.com">
</div>
<div class="col-12">
<button class="subs_btn d-block" type="submit">Subscribe</button>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<footer>
<p class="text-center py-5 bg-light">design with love By ©ThapaTechnical</p>
</footer>
<!-- Optional JavaScript -->
<!-- Popper.js first, then Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha1/js/bootstrap.min.js" integrity="sha384-oesi62hOLfzrys4LxRF63OJCXdXDipiYWBnvTl9Y9/TRlw5xlKIEHpNyvvDShgf/" crossorigin="anonymous"></script>
<script type="text/javascript">
const like = document.getElementById('like_btn');
const singleClick = () => {
like.style.fontWeight = 'bold';
like.style.background = '#bbe1fa';
like.style.color = '#1b262c';
like.innerHTML = "✓ Liked";
}
const doubleClick = () => {
like.style.fontWeight = 'normal';
like.style.background = '#3282b8';
like.style.color = '#fff';
like.innerHTML = "Like";
}
var clickCount = 0;
like.addEventListener('click', function() {
clickCount++;
if (clickCount === 1) {
singleClickTimer = setTimeout(function() {
clickCount = 0;
singleClick();
}, 400);
} else if (clickCount === 2) {
clearTimeout(singleClickTimer);
clickCount = 0;
doubleClick();
}
}, false);
// show and hide the replies
const reply = (rep) => {
console.log('hi');
// debugger;
var res = document.getElementById(rep);
console.log(res);
if (res.className == "replies") {
res.className = "thapa_show";
res.style.WebkitTransition = 'all 0.3s ease';
// res.style.transition = 'all 0.3s ease';
// console.log(thapa_show);
} else if (res.className == 'thapa_show') {
// res.className = " ";
console.log('thapa show');
res.className = "replies";
}
}
</script>
</body>
</html>