forked from ZeroOctave/ZeroOctave-Javascript-Projects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
360 lines (325 loc) · 11.9 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- website favicon -->
<link rel="icon" href="./favicon-32x32.png" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link rel="stylesheet" href="./styles/landing_page.css" />
<script src="./script.js" defer></script>
<script src="./script2.js" defer></script>
<!--Buy me a coffee script-->
<script
data-name="BMC-Widget"
data-cfasync="false"
src="https://cdnjs.buymeacoffee.com/1.0.0/widget.prod.min.js"
data-id="Astrodevil"
data-description="Support me on Buy me a coffee!"
data-message=""
data-color="#ff914d"
data-position="Right"
data-x_margin="50"
data-y_margin="50"
></script>
<!--End of Buy me a coffee script-->
<title>ZeroOctave Js Projects</title>
</head>
<body>
<!-- ----------------------------PRELOADER SECTION---------------------------- -->
<div class="preloadeR" id="preLoading"><span></span></div>
<!-- NAV-HERO SECTION -->
<div class="nav_hero_sec">
<div class="nav_hero_inner">
<!-- ----------------------------HEADER/NAV SECTION---------------------------- -->
<header id="nav_sec animations_left">
<div class="navbar">
<div class="navbar_inner">
<div class="navbar_left">
<div class="navbar_logo_sec fw_800">
<p>ZeroOctave</p>
</div>
</div>
<div class="navbar_right">
<div class="menu_items">
<ul class="menu_lists">
<a href="#projects">
<li>
<span> <i class="fa-brands fa-js"></i> </span>
projects
</li>
</a>
<a
href="https://github.com/ZeroOctave/ZeroOctave-Javascript-Projects"
target="_blank"
>
<li>
<span>
<i class="fa-brands fa-github"></i>
</span>
github
</li>
</a>
</ul>
</div>
</div>
<div class="toogle_btn">
<i class="fa fa-bars"></i>
</div>
</div>
</div>
<!-- DROPDOWN MENU -->
<div class="dropdown_menu">
<div class="dropdown_menu_inner animations_left">
<ul class="menu_lists">
<a href="#projects">
<li>
<span> <i class="fa-brands fa-js"></i> </span>
projects
</li>
</a>
<a
href="https://github.com/ZeroOctave/ZeroOctave-Javascript-Projects"
target="_blank"
>
<li>
<span>
<i class="fa-brands fa-github"></i>
</span>
github
</li>
</a>
</ul>
</div>
</div>
</header>
<!-- ----------------------------HERO SECTION---------------------------- -->
<section class="hero_sec">
<div class="hero_inner">
<div class="hero_top">
<h2 class="large_text fw_900 animations_left">
ZeroOctave JavaScript Projects
</h2>
<p class="small_text max_w light_text fw_400 animations_left">
ZeroOctave Javascript Projects provide some awesome web
development projects to work upon and enhance your skills. The
motive of this project is to help new learners like you to get
familiar with web development skills.
</p>
</div>
</div>
</section>
</div>
</div>
<!-- ----------------------------CARD SECTION---------------------------- -->
<section id="projects" class="card_sec">
<div class="card_inner">
<h2 class="card_header animations_up">
{ <span style="color: #ff914d">JavaScript</span> Projects }
</h2>
<div class="searchbar_container animations_up">
<div class="searchbar_left">
<span><i class="fa-solid fa-code"></i></span>
<p>projects</p>
</div>
<!--searchbar-->
<div class="searchbar_right">
<span><i class="fa-solid fa-magnifying-glass"></i></span>
<input
type="text"
id="searchbar"
role="searchbox"
placeholder="Search Project..."
/>
</div>
</div>
<!-- CARDS/PROJECTS SECTION STARTS HERE -->
<div id="scrollto" class="project_sec">
<div class="project_inner" id="cardd"></div>
</div>
<!-- CARDS SECTION END HERE -->
<div class="loading show">
<div class="ball"></div>
<div class="ball"></div>
<div class="ball"></div>
</div>
<script>
let noOfCardsToLoad = 10;
let cardLoadedYet = 0;
let loadingBalls = false;
const loading = document.querySelector(".loading");
// console.log(cardItems[0]);
showLoading();
window.addEventListener("scroll", () => {
const { scrollTop, scrollHeight, clientHeight } =
document.documentElement;
// console.log({ scrollTop, scrollHeight, clientHeight });
const footerHeight =
document.getElementsByClassName("footer")[0].offsetHeight;
// console.log(footerHeight);
if (
clientHeight + scrollTop >= scrollHeight - footerHeight &&
cardLoadedYet < cardItems.length
) {
// show the loading animation
// setTimeout(showLoading,1000);
showLoading();
}
});
function showLoading() {
loading.classList.add("show");
// load more data
// showNextItems();
if (loadingBalls == false) {
loadingBalls = true;
setTimeout(showNextItems, 1000);
}
}
function showNextItems() {
// REMOVING ALL CONSOLE.LOG function
// console.log("show next items");
const container = document.getElementsByClassName("container")[0];
// REMOVING CONSOLE.LOG FUNCTION
// console.log(cardItems.length, cardLoadedYet);
let temp = cardLoadedYet;
for (
;
cardLoadedYet <=
(noOfCardsToLoad + temp < cardItems.length
? noOfCardsToLoad + temp
: cardItems.length - 1);
cardLoadedYet++
) {
// REMOVED THE CONSOLE YOU CAN UNCOMMENT IT OUT FOR DEBUGGING
// console.log(cardItems[cardLoadedYet]);
container.innerHTML += cardItems[cardLoadedYet];
}
if (cardLoadedYet >= cardItems.length)
loading.classList.remove("show");
loadingBalls = false;
}
</script>
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
</div>
</section>
<!-- ----------------------------FOOTER SECTION---------------------------- -->
<footer>
<div class="footer_inner animations_up">
<div class="footer_left animations_up">
<div>
<h3>ZeroOctave</h3>
</div>
<p class="small_text">
ZeroOctave Javascript Projects provide some awesome web development
projects to work upon and enhance your skills. The motive of this
project is to help new learners like you to get familiar with web
development skills.
</p>
</div>
<div class="footer_right animations_up">
<div class="collaborations">
<h3>collaborations</h3>
<ul>
<a href="#!" target="_blank" rel="noopener noreferrer">
<li>Hactoberfest 2021</li>
</a>
<a href="#!" target="_blank" rel="noopener noreferrer">
<li>ICC 2021</li>
</a>
<a href="#!" target="_blank" rel="noopener noreferrer">
<li>DWOC 2021</li>
</a>
<a href="#!" target="_blank" rel="noopener noreferrer">
<li>GSSOC 2022</li>
</a>
</ul>
</div>
<div class="follow_us">
<h3>follow us</h3>
<ul>
<a
href="https://github.com/ZeroOctave/ZeroOctave-Javascript-Projects"
target="_blank"
rel="noopener noreferrer"
>
<li>
<span>
<i class="fa-brands fa-github fa-1x social-icon"></i>
</span>
github
</li>
</a>
<a
href="https://twitter.com/zero_octave"
target="_blank"
rel="noopener noreferrer"
>
<li>
<span>
<i class="fa-brands fa-twitter fa-1x social-icon"></i>
</span>
twitter
</li>
</a>
<a
href="https://zerooctave.github.io/"
target="_blank"
rel="noopener noreferrer"
>
<li>
<span>
<i class="fa-solid fa-globe fa-1x social-icon"></i>
</span>
ZeroOctave
</li>
</a>
<a
href="mailto:[email protected]"
target="_blank"
rel="noopener noreferrer"
>
<li>
<span>
<i class="fa-solid fa-envelope fa-1x social-icon"></i>
</span>
mail
</li>
</a>
</ul>
</div>
</div>
</div>
<!--Back to top button-->
<a href="#top">
<button id="back-to-top" class="zoom">
<i class="fa-solid fa-arrow-up"></i>
</button>
</a>
<div class="footer_bottom">
<p>©2023 ZeroOctave,All rights reserved</p>
</div>
</footer>
<!-- -------------SCRIPTS SECTION------------- -->
<script
src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"
></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"
></script>
</body>
</html>