-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
742 lines (659 loc) Β· 23.1 KB
/
index.html
File metadata and controls
742 lines (659 loc) Β· 23.1 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
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
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CodeMaster - Start Your Coding Journey</title>
<style>
:root {
--primary-color: #4361ee;
--secondary-color: #3f37c9;
--accent-color: #4cc9f0;
--background-color: #f8f9fa;
--text-color: #2b2d42;
--gradient-1: linear-gradient(135deg, #4361ee 0%, #3f37c9 100%);
--gradient-2: linear-gradient(45deg, #4cc9f0 0%, #4361ee 100%);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: var(--background-color);
color: var(--text-color);
line-height: 1.6;
overflow-x: hidden;
}
.hero {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
position: relative;
background: linear-gradient(135deg, #1a1a1a 0%, #363636 100%);
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
width: 200%;
height: 200%;
background: var(--gradient-1);
animation: rotate 20s linear infinite;
opacity: 0.1;
}
@keyframes rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.hero-content {
text-align: center;
color: white;
max-width: 800px;
padding: 0 20px;
position: relative;
z-index: 1;
}
.hero h1 {
font-size: 4rem;
margin-bottom: 20px;
animation: fadeInUp 1s ease;
text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
.hero p {
font-size: 1.5rem;
margin-bottom: 40px;
opacity: 0.9;
animation: fadeInUp 1s ease 0.2s;
}
.cta-buttons {
display: flex;
gap: 20px;
justify-content: center;
animation: fadeInUp 1s ease 0.4s;
}
.cta-btn {
padding: 15px 40px;
border-radius: 30px;
font-size: 1.1rem;
font-weight: 600;
text-decoration: none;
transition: all 0.3s ease;
border: none;
cursor: pointer;
}
.primary-btn {
background: var(--gradient-2);
color: white;
box-shadow: 0 4px 15px rgba(76, 201, 240, 0.3);
}
.secondary-btn {
background: transparent;
color: white;
border: 2px solid white;
}
.cta-btn:hover {
transform: translateY(-3px);
box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.floating-shapes {
position: absolute;
width: 100%;
height: 100%;
overflow: hidden;
z-index: 0;
}
.shape {
position: absolute;
background: rgba(255,255,255,0.1);
border-radius: 50%;
animation: float 20s infinite linear;
}
@keyframes float {
0% { transform: translateY(0) rotate(0deg); }
100% { transform: translateY(-100vh) rotate(360deg); }
}
.features {
padding: 100px 20px;
background: white;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
max-width: 1200px;
margin: 0 auto;
}
.feature-card {
padding: 30px;
border-radius: 20px;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
transition: all 0.3s ease;
text-align: center;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.feature-card:hover {
transform: translateY(-10px);
}
.feature-icon {
font-size: 3rem;
margin-bottom: 20px;
background: var(--gradient-2);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@media (max-width: 768px) {
.hero h1 {
font-size: 2.5rem;
}
.hero p {
font-size: 1.2rem;
}
.cta-buttons {
flex-direction: column;
}
.cta-btn {
width: 100%;
}
}
/* New styles for enhanced features */
.feature-card {
padding: 30px;
border-radius: 20px;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
transition: all 0.3s ease;
text-align: center;
border: 1px solid rgba(255, 255, 255, 0.1);
}
/* Add smooth scroll behavior */
html {
scroll-behavior: smooth;
}
/* Add a modern navbar */
.navbar {
position: fixed;
top: 0;
width: 100%;
padding: 20px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
z-index: 1000;
transition: all 0.3s ease;
}
.navbar.scrolled {
background: rgba(255, 255, 255, 0.95);
box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
/* Add a testimonials section */
.testimonials {
padding: 100px 20px;
background: var(--gradient-1);
color: white;
}
.testimonial-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
max-width: 1200px;
margin: 0 auto;
}
.testimonial-card {
background: rgba(255, 255, 255, 0.1);
padding: 30px;
border-radius: 20px;
backdrop-filter: blur(10px);
}
/* Add hover effects for buttons */
.cta-btn {
position: relative;
overflow: hidden;
}
.cta-btn::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
background: rgba(255, 255, 255, 0.2);
border-radius: 50%;
transform: translate(-50%, -50%);
transition: width 0.6s, height 0.6s;
}
.cta-btn:hover::after {
width: 300px;
height: 300px;
}
/* Course Details Styles */
.course-details {
padding: 100px 20px;
background: var(--background-color);
}
.container {
max-width: 1200px;
margin: 0 auto;
}
.course-details h2 {
text-align: center;
font-size: 2.5rem;
margin-bottom: 50px;
background: var(--gradient-1);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.course-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.course-card {
background: white;
border-radius: 20px;
padding: 30px;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
transition: transform 0.3s ease;
}
.course-card:hover {
transform: translateY(-10px);
}
.course-icon {
font-size: 3rem;
margin-bottom: 20px;
}
.course-list {
list-style: none;
margin: 20px 0;
}
.course-list li {
padding: 10px 0;
border-bottom: 1px solid rgba(0,0,0,0.1);
}
.course-btn {
display: inline-block;
padding: 12px 30px;
background: var(--gradient-2);
color: white;
border-radius: 30px;
text-decoration: none;
margin-top: 20px;
transition: transform 0.3s ease;
}
.course-btn:hover {
transform: translateY(-3px);
}
/* Learning Path Timeline */
.learning-path {
padding: 100px 20px;
background: white;
}
.timeline {
position: relative;
max-width: 800px;
margin: 0 auto;
padding: 40px 0;
}
.timeline::before {
content: '';
position: absolute;
width: 2px;
background: var(--gradient-1);
top: 0;
bottom: 0;
left: 50%;
transform: translateX(-50%);
}
.timeline-item {
padding: 20px 40px;
position: relative;
width: 50%;
animation: slideIn 0.5s ease-out forwards;
opacity: 0;
}
.timeline-item:nth-child(odd) {
left: 0;
}
.timeline-item:nth-child(even) {
left: 50%;
}
.timeline-content {
padding: 20px;
background: white;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
@keyframes slideIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
/* Responsive adjustments */
@media (max-width: 768px) {
.timeline::before {
left: 30px;
}
.timeline-item {
width: 100%;
padding-left: 70px;
}
.timeline-item:nth-child(even) {
left: 0;
}
}
/* Enhanced Mobile Styles */
@media screen and (max-width: 768px) {
/* Hero Section Improvements */
.hero {
min-height: 100vh;
background: linear-gradient(135deg, #1a1a1a 0%, #2d3748 100%);
}
.hero-content {
padding: 20px;
text-align: left;
}
.hero h1 {
font-size: 2.8rem;
line-height: 1.2;
margin-bottom: 20px;
background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
animation: gradientFlow 3s ease infinite;
}
@keyframes gradientFlow {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.hero p {
font-size: 1.1rem;
line-height: 1.6;
margin-bottom: 30px;
color: rgba(255, 255, 255, 0.9);
}
/* Enhanced CTA Buttons */
.cta-buttons {
display: grid;
gap: 15px;
padding: 0 10px;
}
.cta-btn {
width: 100%;
padding: 18px 30px;
border-radius: 15px;
font-size: 1.1rem;
font-weight: 600;
letter-spacing: 0.5px;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
}
/* Feature Cards Enhancement */
.feature-card {
margin: 10px;
padding: 25px;
border-radius: 15px;
background: rgba(255, 255, 255, 0.98);
box-shadow:
0 10px 30px rgba(0, 0, 0, 0.1),
0 1px 3px rgba(0, 0, 0, 0.05);
}
.feature-icon {
animation: iconFloat 3s ease-in-out infinite;
}
@keyframes iconFloat {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
/* Add Floating Navigation */
.floating-nav {
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
padding: 15px 25px;
border-radius: 50px;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
z-index: 1000;
display: flex;
gap: 25px;
}
/* Course Cards Enhancement */
.course-card {
margin: 15px 10px;
background: linear-gradient(145deg, #ffffff, #f8fafc);
border: 1px solid rgba(67, 97, 238, 0.1);
}
.course-list li {
padding: 12px 0;
display: flex;
align-items: center;
gap: 12px;
}
.course-list li::before {
content: 'β';
color: #4361ee;
font-weight: bold;
}
/* Testimonial Cards Enhancement */
.testimonial-card {
margin: 10px;
background: rgba(255, 255, 255, 0.1);
backdrop-filter: blur(10px);
border: 1px solid rgba(255, 255, 255, 0.2);
padding: 25px;
border-radius: 20px;
}
}
</style>
</head>
<body>
<section class="hero">
<div class="floating-shapes">
<!-- Add shapes dynamically with JavaScript -->
</div>
<div class="hero-content">
<h1>Master Coding with CodeMaster</h1>
<p>Join thousands of learners on their journey to becoming professional developers</p>
<p>Your one stop solution for all your coding needs</p>
<div class="cta-buttons">
<a href="test.html" class="cta-btn primary-btn">Start Learning</a>
<a href="newabout.html" class="cta-btn secondary-btn">Guide</a>
</div>
</div>
</section>
<section class="features">
<div class="features-grid">
<div class="feature-card">
<div class="feature-icon">π―</div>
<h3>Interactive Learning</h3>
<p>Learn by doing with hands-on coding exercises and real-world projects.</p>
</div>
<div class="feature-card">
<div class="feature-icon">π</div>
<h3>Progress Tracking</h3>
<p>Track your learning journey and earn certificates as you advance.</p>
</div>
<div class="feature-card">
<div class="feature-icon">π₯</div>
<h3>Community Support</h3>
<p>Join a community of learners and get help when you need it.</p>
</div>
</div>
</section>
<section class="course-details">
<div class="container">
<h2>What You'll Learn</h2>
<div class="course-grid">
<div class="course-card">
<div class="course-icon">π»</div>
<h3>Web Development</h3>
<ul class="course-list">
<li>HTML5 & CSS3 Mastery</li>
<li>JavaScript & Modern ES6+</li>
<li>React & Vue.js Frameworks</li>
<li>Backend with Node.js</li>
</ul>
<a href="self-paced-curriculum.html" class="course-btn">View Curriculum</a>
</div>
<div class="course-card">
<div class="course-icon">π±</div>
<h3>Mobile Development</h3>
<ul class="course-list">
<li>iOS Development with Swift</li>
<li>Android with Kotlin</li>
<li>Cross-platform with Flutter</li>
<li>App Publishing Guide</li>
</ul>
<a href="mobile-dev.html" class="course-btn">View Curriculum</a>
</div>
<div class="course-card">
<div class="course-icon">π€</div>
<h3>Data Science & AI</h3>
<ul class="course-list">
<li>Python Programming</li>
<li>Machine Learning Basics</li>
<li>Data Analysis with Pandas</li>
<li>AI Project Portfolio</li>
</ul>
<a href="self-paced-curriculum.html" class="course-btn">View Curriculum</a>
</div>
</div>
</div>
</section>
<section class="learning-path">
<div class="container">
<h2>Your Learning Journey</h2>
<div class="timeline">
<div class="timeline-item">
<div class="timeline-content">
<h3>1. Foundations</h3>
<p>Master the basics of programming with interactive tutorials and hands-on exercises.</p>
</div>
</div>
<div class="timeline-item">
<div class="timeline-content">
<h3>2. Specialization</h3>
<p>Choose your path and dive deep into your preferred technology stack.</p>
</div>
</div>
<div class="timeline-item">
<div class="timeline-content">
<h3>3. Projects</h3>
<p>Build real-world projects to apply your skills and grow your portfolio.</p>
</div>
</div>
<div class="timeline-item">
<div class="timeline-content">
<h3>4. Career Ready</h3>
<p>Get career support, interview prep, and job placement assistance.</p>
</div>
</div>
</div>
</div>
</section>
<section class="testimonials">
<div class="testimonial-grid">
<div class="testimonial-card">
<h3>Sarah Johnson</h3>
<p>"This platform transformed my coding journey. The interactive lessons and supportive community made learning enjoyable."</p>
</div>
<div class="testimonial-card">
<h3>Mike Chen</h3>
<p>"From beginner to professional developer in 6 months. The structured curriculum was exactly what I needed."</p>
</div>
<div class="testimonial-card">
<h3>Emma Davis</h3>
<p>"The project-based learning approach helped me build a strong portfolio. Now I'm working as a full-stack developer!"</p>
</div>
</div>
</section>
<script>
// Add floating shapes
const shapes = document.querySelector('.floating-shapes');
for(let i = 0; i < 20; i++) {
const shape = document.createElement('div');
shape.classList.add('shape');
shape.style.left = `${Math.random() * 100}%`;
shape.style.width = shape.style.height = `${Math.random() * 10 + 30}px`;
shape.style.animationDuration = `${Math.random() * 10 + 10}s`;
shape.style.animationDelay = `${Math.random() * 5}s`;
shapes.appendChild(shape);
}
// Add navbar scroll effect
window.addEventListener('scroll', () => {
const navbar = document.querySelector('.navbar');
if (window.scrollY > 20) {
navbar.classList.add('scrolled');
} else {
navbar.classList.remove('scrolled');
}
});
// Animate timeline items on scroll
const timelineItems = document.querySelectorAll('.timeline-item');
const observerOptions = {
threshold: 0.5,
rootMargin: '0px'
};
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.style.animation = 'slideIn 0.5s ease-out forwards';
entry.target.classList.add('visible');
}
});
}, observerOptions);
timelineItems.forEach(item => observer.observe(item));
// Add fade-in animations
document.querySelectorAll('.feature-card, .course-card, .testimonial-card').forEach(el => {
el.classList.add('fade-in');
observer.observe(el);
});
// Add floating navigation
const nav = document.createElement('div');
nav.className = 'floating-nav';
nav.innerHTML = `
<a href="#top" class="nav-icon">π </a>
<a href="#features" class="nav-icon">β¨</a>
<a href="#courses" class="nav-icon">π</a>
<a href="#testimonials" class="nav-icon">π¬</a>
`;
document.body.appendChild(nav);
// Smooth scroll behavior
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
</script>
</body>
</html>