-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
1373 lines (1224 loc) · 55.3 KB
/
Copy pathindex.html
File metadata and controls
1373 lines (1224 loc) · 55.3 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
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="th">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>QA Automation Coding Course — Playwright, Robot Framework & k6</title>
<meta name="description" content="หลักสูตรเรียนรู้และทดสอบการเขียนโค้ดสำหรับ QA (Playwright TypeScript, Robot Framework และ k6 Performance Testing) ผ่านห้องจำลอง Code Sandbox ในเบราว์เซอร์">
<!-- Google Fonts: Inter -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
<style>
:root {
--bg-primary: #080b11;
--bg-secondary: #111622;
--border-color: rgba(255, 255, 255, 0.08);
--text-primary: #f3f4f6;
--text-secondary: #9ca3af;
--accent-blue: #3b82f6;
--accent-orange: #f97316;
--accent-emerald: #10b981;
--accent-violet: #8b5cf6;
--accent-gold: #eab308;
--accent-teal: #14b8a6;
--accent-slate: #64748b;
--accent-red: #ef4444;
--accent-indigo: #818cf8;
--accent-pink: #ec4899;
--accent-cyan: #06b6d4;
--accent-lime: #84cc16;
--font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
font-family: var(--font-sans);
background-color: var(--bg-primary);
color: var(--text-primary);
min-height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 40px 20px;
background-image:
radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.1) 0px, transparent 50%),
radial-gradient(at 100% 100%, rgba(249, 115, 22, 0.1) 0px, transparent 50%);
}
.container {
max-width: 1280px;
width: 100%;
text-align: center;
}
header {
margin-bottom: 56px;
}
h1 {
font-size: 2.75rem;
font-weight: 800;
letter-spacing: -0.02em;
margin-bottom: 16px;
background: linear-gradient(135deg, #fff 30%, var(--text-secondary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.subtitle {
font-size: 1.1rem;
color: var(--text-secondary);
max-width: 600px;
margin: 0 auto;
line-height: 1.6;
}
.exam-cta {
display: flex;
align-items: center;
gap: 20px;
background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(249, 115, 22, 0.08));
border: 1px solid rgba(59, 130, 246, 0.3);
border-radius: 18px;
padding: 24px 28px;
margin-bottom: 40px;
text-decoration: none;
color: inherit;
transition: border-color 0.2s, transform 0.2s;
}
.exam-cta:hover {
border-color: var(--accent-blue);
transform: translateY(-2px);
}
.exam-cta-icon { font-size: 2rem; flex-shrink: 0; }
.exam-cta-text { flex: 1; text-align: left; }
.exam-cta-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.exam-cta-desc { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.5; }
.exam-cta-arrow { font-size: 1.5rem; color: var(--accent-blue); flex-shrink: 0; }
.learning-path {
background-color: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: 18px;
padding: 24px 28px;
margin-bottom: 40px;
}
.learning-path-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.learning-path-desc { color: var(--text-secondary); font-size: 0.85rem; margin-bottom: 18px; }
.learning-path-steps {
display: flex;
flex-wrap: wrap;
gap: 10px;
list-style: none;
padding: 0;
margin: 0;
counter-reset: step;
}
.learning-path-steps li {
counter-increment: step;
display: flex;
align-items: center;
gap: 6px;
}
.learning-path-steps li::before {
content: counter(step);
font-size: 0.7rem;
font-weight: 700;
color: var(--text-secondary);
}
.learning-path-steps li:not(:last-child)::after {
content: '→';
color: var(--text-secondary);
font-size: 0.8rem;
margin-left: 4px;
}
.learning-path-steps a {
color: inherit;
text-decoration: none;
font-size: 0.85rem;
border-bottom: 1px dashed var(--border-color);
}
.learning-path-steps a:hover { border-bottom-color: var(--accent-blue); }
.courses-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 32px;
margin-bottom: 48px;
}
.course-card {
background-color: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: 20px;
padding: 40px;
text-align: left;
display: flex;
flex-direction: column;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}
.course-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 4px;
background: transparent;
transition: background 0.3s ease;
}
.course-card:hover {
transform: translateY(-8px);
box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
border-color: rgba(255, 255, 255, 0.15);
}
.card-playwright:hover::before {
background: var(--accent-blue);
}
.card-robot:hover::before {
background: var(--accent-orange);
}
.card-api:hover::before {
background: var(--accent-violet);
}
.card-perf:hover::before {
background: var(--accent-gold);
}
.card-sql:hover::before {
background: var(--accent-teal);
}
.card-cli:hover::before {
background: var(--accent-slate);
}
.card-security:hover::before {
background: var(--accent-red);
}
.card-a11y:hover::before {
background: var(--accent-indigo);
}
.card-visual:hover::before {
background: var(--accent-pink);
}
.card-cicd:hover::before {
background: var(--accent-cyan);
}
.card-framework:hover::before {
background: var(--accent-lime);
}
.card-dsa:hover::before {
background: var(--accent-emerald);
}
.course-icon {
font-size: 3rem;
margin-bottom: 24px;
display: inline-block;
}
.course-title {
font-size: 1.5rem;
font-weight: 700;
margin-bottom: 12px;
}
.level-badge {
display: inline-block;
align-self: flex-start;
font-size: 0.7rem;
font-weight: 700;
padding: 3px 10px;
border-radius: 9999px;
margin-bottom: 12px;
}
.level-beginner { background-color: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.level-intermediate { background-color: rgba(234, 179, 8, 0.15); color: var(--accent-gold); }
.level-advanced { background-color: rgba(239, 68, 68, 0.15); color: var(--accent-red); }
.course-desc {
font-size: 0.95rem;
color: var(--text-secondary);
line-height: 1.6;
margin-bottom: 28px;
flex: 1;
}
.tags {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 32px;
}
.tag {
font-size: 0.725rem;
font-weight: 600;
padding: 4px 10px;
border-radius: 9999px;
background-color: rgba(255, 255, 255, 0.05);
color: var(--text-secondary);
border: 1px solid var(--border-color);
}
.btn {
padding: 12px 24px;
border-radius: 8px;
font-size: 0.95rem;
font-weight: 700;
text-decoration: none;
text-align: center;
transition: all 0.2s ease;
display: block;
}
.btn-playwright {
background-color: var(--accent-blue);
color: white;
}
.btn-playwright:hover {
background-color: #2563eb;
box-shadow: 0 0 16px rgba(59, 130, 246, 0.4);
}
.btn-robot {
background-color: var(--accent-orange);
color: white;
}
.btn-robot:hover {
background-color: #ea580c;
box-shadow: 0 0 16px rgba(249, 115, 22, 0.4);
}
.btn-api {
background-color: var(--accent-violet);
color: white;
}
.btn-api:hover {
background-color: #7c3aed;
box-shadow: 0 0 16px rgba(139, 92, 246, 0.4);
}
.btn-perf {
background-color: var(--accent-gold);
color: #1a1400;
}
.btn-perf:hover {
background-color: #ca8a04;
box-shadow: 0 0 16px rgba(234, 179, 8, 0.4);
}
.btn-sql {
background-color: var(--accent-teal);
color: white;
}
.btn-sql:hover {
background-color: #0d9488;
box-shadow: 0 0 16px rgba(20, 184, 166, 0.4);
}
.btn-cli {
background-color: var(--accent-slate);
color: white;
}
.btn-cli:hover {
background-color: #475569;
box-shadow: 0 0 16px rgba(100, 116, 139, 0.4);
}
.btn-security {
background-color: var(--accent-red);
color: white;
}
.btn-security:hover {
background-color: #dc2626;
box-shadow: 0 0 16px rgba(239, 68, 68, 0.4);
}
.btn-a11y {
background-color: var(--accent-indigo);
color: white;
}
.btn-a11y:hover {
background-color: #6366f1;
box-shadow: 0 0 16px rgba(129, 140, 248, 0.4);
}
.btn-visual {
background-color: var(--accent-pink);
color: white;
}
.btn-visual:hover {
background-color: #db2777;
box-shadow: 0 0 16px rgba(236, 72, 153, 0.4);
}
.btn-cicd {
background-color: var(--accent-cyan);
color: white;
}
.btn-cicd:hover {
background-color: #0891b2;
box-shadow: 0 0 16px rgba(6, 182, 212, 0.4);
}
.btn-framework {
background-color: var(--accent-lime);
color: #1a2e05;
}
.btn-framework:hover {
background-color: #65a30d;
box-shadow: 0 0 16px rgba(132, 204, 22, 0.4);
}
.btn-dsa {
background-color: var(--accent-emerald);
color: white;
}
.btn-dsa:hover {
background-color: #059669;
box-shadow: 0 0 16px rgba(16, 185, 129, 0.4);
}
footer {
font-size: 0.8rem;
color: #4b5563;
margin-top: 24px;
}
footer #footer-version a {
color: inherit;
text-decoration: none;
}
footer #footer-version a:hover {
color: #9ca3af;
text-decoration: underline;
}
@media (max-width: 1000px) {
.courses-grid {
grid-template-columns: 1fr 1fr;
}
}
@media (max-width: 640px) {
.courses-grid {
grid-template-columns: 1fr;
}
h1 {
font-size: 2rem;
}
body {
padding: 24px 16px;
}
.course-card {
padding: 24px;
}
.exam-cta {
flex-wrap: wrap;
padding: 20px;
gap: 12px;
}
.exam-cta-text {
min-width: 0;
}
.exam-cta-arrow {
display: none;
}
}
/* Progress panel */
.progress-panel {
background-color: var(--bg-secondary);
border: 1px solid var(--border-color);
border-radius: 16px;
padding: 24px 28px;
margin-bottom: 40px;
text-align: left;
}
.progress-panel-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
}
.progress-panel-title {
font-size: 1.1rem;
font-weight: 700;
}
.progress-panel-xp {
font-size: 0.9rem;
font-weight: 700;
color: var(--accent-gold);
}
.overall-progress-bar {
width: 100%;
height: 10px;
border-radius: 9999px;
background-color: rgba(255, 255, 255, 0.06);
overflow: hidden;
margin-bottom: 10px;
}
.overall-progress-fill {
height: 100%;
width: 0%;
border-radius: 9999px;
background: linear-gradient(90deg, var(--accent-blue), var(--accent-emerald));
transition: width 0.4s ease;
}
.progress-panel-footer {
font-size: 0.85rem;
color: var(--text-secondary);
margin-bottom: 14px;
}
.badges-row {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 14px;
}
.progress-panel-actions {
display: flex;
gap: 10px;
}
.btn-mini {
font-size: 0.8rem;
font-weight: 600;
padding: 6px 14px;
border-radius: 8px;
background-color: rgba(255, 255, 255, 0.05);
border: 1px solid var(--border-color);
color: var(--text-secondary);
cursor: pointer;
transition: all 0.2s ease;
}
.btn-mini:hover {
background-color: rgba(255, 255, 255, 0.1);
color: var(--text-primary);
}
.github-star-btn {
display: inline-flex;
align-items: center;
gap: 8px;
margin-top: 16px;
padding: 8px 20px;
font-size: 0.9rem;
font-weight: 600;
color: var(--text-primary);
background: rgba(255, 255, 255, 0.05);
border: 1px solid var(--border-color);
border-radius: 9999px;
text-decoration: none;
transition: all 0.2s ease;
}
.github-star-btn:hover {
background: rgba(234, 179, 8, 0.15);
border-color: rgba(234, 179, 8, 0.4);
color: #fde68a;
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(234, 179, 8, 0.2);
}
.badge-chip {
font-size: 0.8rem;
font-weight: 600;
padding: 5px 12px;
border-radius: 9999px;
background-color: rgba(234, 179, 8, 0.12);
border: 1px solid rgba(234, 179, 8, 0.3);
color: #fde68a;
}
.badge-chip-empty {
background-color: rgba(255, 255, 255, 0.04);
border: 1px solid var(--border-color);
color: var(--text-secondary);
}
/* Per-card mini progress */
.track-progress {
margin-bottom: 20px;
}
.track-progress-bar {
width: 100%;
height: 6px;
border-radius: 9999px;
background-color: rgba(255, 255, 255, 0.06);
overflow: hidden;
margin-bottom: 6px;
}
.track-progress-fill {
height: 100%;
width: 0%;
border-radius: 9999px;
background-color: currentColor;
transition: width 0.4s ease;
}
.card-api .track-progress-fill { background-color: var(--accent-violet); }
.card-playwright .track-progress-fill { background-color: var(--accent-blue); }
.card-robot .track-progress-fill { background-color: var(--accent-orange); }
.card-perf .track-progress-fill { background-color: var(--accent-gold); }
.card-sql .track-progress-fill { background-color: var(--accent-teal); }
.card-cli .track-progress-fill { background-color: var(--accent-slate); }
.card-security .track-progress-fill { background-color: var(--accent-red); }
.card-a11y .track-progress-fill { background-color: var(--accent-indigo); }
.card-visual .track-progress-fill { background-color: var(--accent-pink); }
.card-cicd .track-progress-fill { background-color: var(--accent-cyan); }
.card-framework .track-progress-fill { background-color: var(--accent-lime); }
.card-dsa .track-progress-fill { background-color: var(--accent-emerald); }
.track-progress-text {
font-size: 0.75rem;
color: var(--text-secondary);
}
/* Completion banner */
.completion-banner {
background: linear-gradient(135deg, rgba(234, 179, 8, 0.1), rgba(16, 185, 129, 0.1));
border: 1px solid rgba(234, 179, 8, 0.35);
border-radius: 20px;
padding: 40px;
margin-bottom: 40px;
text-align: left;
}
.completion-banner-icon {
font-size: 3rem;
margin-bottom: 12px;
}
.completion-banner h2 {
font-size: 1.6rem;
margin-bottom: 10px;
}
.completion-banner p {
color: var(--text-secondary);
margin-bottom: 16px;
}
.completion-banner ul {
list-style: none;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
color: var(--text-secondary);
font-size: 0.9rem;
}
@media (max-width: 640px) {
.completion-banner ul {
grid-template-columns: 1fr;
}
}
.completion-banner.banner-animate {
animation: banner-pop 0.5s ease;
}
/* Update-available banner */
.update-banner {
display: flex;
align-items: center;
justify-content: space-between;
gap: 16px;
background-color: rgba(59, 130, 246, 0.1);
border: 1px solid rgba(59, 130, 246, 0.3);
border-radius: 12px;
padding: 14px 20px;
margin-bottom: 24px;
text-align: left;
font-size: 0.9rem;
color: var(--text-primary);
animation: banner-pop 0.4s ease;
}
.update-banner a {
color: var(--accent-blue);
font-weight: 600;
}
.update-banner-close {
background: none;
border: none;
color: var(--text-secondary);
font-size: 1.1rem;
cursor: pointer;
line-height: 1;
padding: 4px 8px;
flex-shrink: 0;
}
.update-banner-close:hover {
color: var(--text-primary);
}
@media (max-width: 640px) {
.update-banner {
flex-direction: column;
align-items: flex-start;
}
}
@keyframes banner-pop {
from { opacity: 0; transform: scale(0.95) translateY(10px); }
to { opacity: 1; transform: scale(1) translateY(0); }
}
/* Badge unlock toast */
.badge-toast {
position: fixed;
bottom: 24px;
right: 24px;
background-color: rgba(234, 179, 8, 0.15);
border: 1px solid rgba(234, 179, 8, 0.4);
color: #fde68a;
font-weight: 600;
font-size: 0.9rem;
padding: 12px 20px;
border-radius: 12px;
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
z-index: 9999;
animation: badge-toast-in 0.3s ease;
}
.badge-toast-out {
animation: badge-toast-fade 0.4s ease forwards;
}
@keyframes badge-toast-in {
from { transform: translateY(20px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
@keyframes badge-toast-fade {
to { opacity: 0; transform: translateY(-10px); }
}
/* Confetti burst on course completion */
.confetti-piece {
position: fixed;
top: -10px;
width: 8px;
height: 14px;
z-index: 9998;
animation: confetti-fall linear forwards;
border-radius: 2px;
pointer-events: none;
}
@keyframes confetti-fall {
to { transform: translateY(100vh) rotate(360deg); opacity: 0.6; }
}
</style>
</head>
<body>
<div class="container">
<header>
<h1>QA Automation Coding Course</h1>
<p class="subtitle">
หลักสูตรเรียนรู้และทดสอบการเขียนโค้ดระบบจำลอง Automation แบบโต้ตอบด้วย Code Sandbox และรันชุดทดสอบเสมือนจริงในเบราว์เซอร์
</p>
<a href="https://github.com/Vit129/QA-Automation-Coding-Course" target="_blank" rel="noopener noreferrer" class="github-star-btn">
⭐ Star on GitHub
</a>
</header>
<div id="update-banner-slot"></div>
<div class="progress-panel" id="progress-panel">
<div class="progress-panel-header">
<span class="progress-panel-title">📊 ความคืบหน้าของคุณ</span>
<span class="progress-panel-xp" id="overall-xp">0 XP</span>
</div>
<div class="overall-progress-bar">
<div class="overall-progress-fill" id="overall-fill"></div>
</div>
<div class="progress-panel-footer" id="overall-text">0 / 0 บทเรียน (0%)</div>
<div class="badges-row" id="badges-row"></div>
<div class="progress-panel-actions">
<button class="btn-mini" onclick="exportProgress()">📤 Export Progress</button>
<button class="btn-mini" onclick="document.getElementById('import-file-input').click()">📥 Import Progress</button>
<input type="file" id="import-file-input" accept="application/json" style="display:none" onchange="importProgress(event)">
</div>
</div>
<div class="completion-banner" id="completion-banner" style="display:none;">
<div class="completion-banner-icon">🏆</div>
<h2>เรียนจบครบทุกบทแล้ว!</h2>
<p id="completion-intro">คุณผ่านบทเรียนทั้งหมดครบทั้ง 12 สาย QA Automation:</p>
<ul>
<li>✅ Playwright API Testing — ทดสอบ Backend API ด้วย Request Context, Auth, Schema Validation</li>
<li>✅ Playwright UI Testing — POM, API Mocking, TypeScript</li>
<li>✅ Robot Framework Native UI Testing — Keyword-driven + macOS Native Automation</li>
<li>✅ Performance Testing (k6) — Virtual Users, Thresholds, Stages</li>
<li>✅ Database Design & SQL — Schema Design, JOIN, Data Integrity, NULL Handling</li>
<li>✅ Git, Vim & Unix Cheat Sheet — เครื่องมือที่ใช้ทุกวัน</li>
<li>✅ Security Testing — Auth Bypass, Injection Awareness, XSS Prevention</li>
<li>✅ Accessibility (a11y) Testing — axe-core, ARIA, Keyboard Navigation</li>
<li>✅ Visual Regression Testing — Screenshot Diff, Masking, Responsive</li>
<li>✅ CI/CD Pipeline — GitHub Actions, Matrix Strategy, Caching</li>
<li>✅ Test Automation Framework Design — Fixtures, DRY, Reporting</li>
<li>✅ Data Structures & Algorithms for QA — Big-O, Search/Sort, Complexity Analysis</li>
</ul>
</div>
<!-- FINAL PROJECT CAPSTONE BANNER -->
<a href="Final-Project/index.html" class="exam-cta" style="background: linear-gradient(135deg, rgba(244, 63, 94, 0.15), rgba(59, 130, 246, 0.15)); border-color: rgba(244, 63, 94, 0.4);">
<div class="exam-cta-icon">🇯🇵✈️</div>
<div class="exam-cta-text">
<div class="exam-cta-title" style="color: #fff;">🎯 Final Project: Japan Concert Trip (All-in-One Capstone)</div>
<div class="exam-cta-desc">บูรณาการทริปดูคอนเสิร์ตโตเกียว (14-18 ต.ค.) — ออกแบบ DB, API, Passport & Visa Validation, Web UI, Mobile App และ CI/CD Pipeline ด้วยตัวเองครบจบในโปรเจกต์เดียว!</div>
</div>
<div class="exam-cta-arrow">→</div>
</a>
<!-- MIXED MOCK EXAM CTA -->
<a href="./exam/index.html" class="exam-cta">
<div class="exam-cta-icon">🎯</div>
<div class="exam-cta-text">
<div class="exam-cta-title">Mixed Mock Exam — จับเวลา แยกเลือกหมวดเนื้อหาได้</div>
<div class="exam-cta-desc" id="exam-cta-desc">สุ่มโจทย์ผสมจากทั้ง 12 สาย (236 บทเรียน) เลือกได้ว่าจะรวมสายไหนบ้าง กำหนดจำนวนข้อ/เวลาเอง ตรวจจริงผ่าน validate() เดียวกับที่ใช้ในบทเรียน</div>
</div>
<div class="exam-cta-arrow">→</div>
</a>
<div class="learning-path">
<div class="learning-path-title">🗺️ แนะนำลำดับการเรียน</div>
<div class="learning-path-desc">ไม่จำเป็นต้องเรียนตามลำดับนี้เป๊ะๆ แต่ถ้าเพิ่งเริ่มสาย QA Automation แนะนำให้เริ่มจาก 🟢 เริ่มต้น ก่อน แล้วค่อยไล่ไป 🟡 ปานกลาง และ 🔴 ขั้นสูง</div>
<ol class="learning-path-steps">
<li><a href="#card-cli">🟢 Git/Vim/Unix</a></li>
<li><a href="#card-sql">🟢 SQL</a></li>
<li><a href="#card-api">🟢 API Testing</a></li>
<li><a href="#card-playwright">🟡 Playwright UI</a></li>
<li><a href="#card-robot">🟡 Robot Framework</a></li>
<li><a href="#card-security">🟡 Security</a></li>
<li><a href="#card-a11y">🟡 Accessibility</a></li>
<li><a href="#card-visual">🟡 Visual Regression</a></li>
<li><a href="#card-perf">🟡 Performance</a></li>
<li><a href="#card-cicd">🔴 CI/CD</a></li>
<li><a href="#card-framework">🔴 Framework Design</a></li>
<li><a href="#card-dsa">🔴 DS&A (Elective)</a></li>
</ol>
</div>
<div class="courses-grid">
<!-- API Testing Course Card -->
<div class="course-card card-api" id="card-api">
<span class="course-icon">🔌</span>
<h2 class="course-title">Playwright API Testing</h2>
<span class="level-badge level-beginner">🟢 เริ่มต้น</span>
<p class="course-desc">
เรียนรู้การทดสอบ Backend API โดยตรงด้วย Playwright Request Context ครอบคลุม Status Code, Negative Testing, Auth Headers, Schema Validation และ Rate-Limit Testing โดยอิงจาก Express API จริงในโปรเจค My-Investment-Port
</p>
<div class="tags">
<span class="tag">Request Context</span>
<span class="tag">Auth Headers</span>
<span class="tag">Schema Validation</span>
<span class="tag">15 Lessons</span>
</div>
<div class="track-progress" id="progress-api">
<div class="track-progress-bar"><div class="track-progress-fill"></div></div>
<span class="track-progress-text">0/15 บทเรียน (0%)</span>
</div>
<a href="./API-Testing/index.html" class="btn btn-api">เข้าสู่บทเรียน →</a>
</div>
<!-- Playwright UI Testing Course Card -->
<div class="course-card card-playwright" id="card-playwright">
<img src="./assets/playwright-logo.svg" alt="Playwright Logo" style="width: 48px; height: 48px; margin-bottom: 24px;">
<h2 class="course-title">Playwright UI Testing</h2>
<span class="level-badge level-intermediate">🟡 ปานกลาง</span>
<p class="course-desc">
เรียนรู้การเขียนโค้ดทดสอบแบบ Code-first ด้วย TypeScript ครอบคลุม POM, API Mocking, และ Responsive Testing โดยอิงจากกรณีศึกษาจริงในโปรเจค My-Investment-Port
</p>
<div class="tags">
<span class="tag">TypeScript</span>
<span class="tag">Page Object Model</span>
<span class="tag">API Mocking</span>
<span class="tag">21 Lessons</span>
</div>
<div class="track-progress" id="progress-playwright">
<div class="track-progress-bar"><div class="track-progress-fill"></div></div>
<span class="track-progress-text">0/21 บทเรียน (0%)</span>
</div>
<a href="./Playwright/index.html" class="btn btn-playwright">เข้าสู่บทเรียน →</a>
</div>
<!-- Robot Framework Native UI Testing Course Card -->
<div class="course-card card-robot" id="card-robot">
<img src="./assets/robotframework-logo.svg" alt="Robot Framework Logo" style="width: 48px; height: 48px; margin-bottom: 24px;">
<h2 class="course-title">Robot Framework Native UI Testing</h2>
<span class="level-badge level-intermediate">🟡 ปานกลาง</span>
<p class="course-desc">
ฝึกฝนการเขียน Keyword-driven Testing ด้วย Robot Framework ครอบคลุมการประกาศ Settings, Variables, Custom Keywords, macOS Native UI Automation ผ่านแอป Kouen จริง (ไม่ใช้ Appium) และ OS Processes<br/><br/>
<strong>หมายเหตุ:</strong> โครงสร้าง RF และหลักคิด (locator ที่เสถียร, test isolation, retry ให้ถูกจุด) ที่ได้จากบทเรียนนี้ต่อยอดไปสาย <strong>Appium Mobile Native</strong> และ <strong>Appium Flutter</strong> ได้จริง แต่ต้องไป apply เรียนรู้ library/locator เฉพาะแพลตฟอร์มเพิ่มเติมทุกครั้งที่ข้ามสาย — เหมือนคนเขียน Selenium เป็นแล้วต้อง apply เพิ่มตอนย้ายไปเขียน Appium Flutter เช่นกัน
</p>
<div class="tags">
<span class="tag">Keyword-driven</span>
<span class="tag">AppleScript/CLI</span>
<span class="tag">Operating System</span>
<span class="tag">18 Lessons</span>
</div>
<div class="track-progress" id="progress-robot">
<div class="track-progress-bar"><div class="track-progress-fill"></div></div>
<span class="track-progress-text">0/18 บทเรียน (0%)</span>
</div>
<a href="./Robot-Framework/index.html" class="btn btn-robot">เข้าสู่บทเรียน →</a>
</div>
<!-- Performance Testing (k6) Course Card -->
<div class="course-card card-perf" id="card-perf">
<span class="course-icon">⚡</span>
<h2 class="course-title">Performance Testing (k6)</h2>
<span class="level-badge level-intermediate">🟡 ปานกลาง</span>
<p class="course-desc">
เรียนรู้การเขียน Load Test ด้วย k6 ครอบคลุม Virtual Users, Thresholds, Stages (Ramping), sleep() Think Time, Custom Metrics, group(), Scenarios/Executors และ setup()/teardown() โดยยิงจริงเข้า Express API ของ My-Investment-Port — รวมบทที่สอนให้ออกแบบ check() ให้รู้จัก Rate Limiter จริงของ server แทนที่จะเข้าใจผิดว่า 429 คือบั๊ก
</p>
<div class="tags">
<span class="tag">Virtual Users</span>
<span class="tag">Thresholds</span>
<span class="tag">Scenarios</span>
<span class="tag">12 Lessons</span>
</div>
<div class="track-progress" id="progress-perf">
<div class="track-progress-bar"><div class="track-progress-fill"></div></div>
<span class="track-progress-text">0/12 บทเรียน (0%)</span>
</div>
<a href="./Performance-Testing/index.html" class="btn btn-perf">เข้าสู่บทเรียน →</a>
</div>
<!-- Database Design & SQL Course Card -->
<div class="course-card card-sql" id="card-sql">
<span class="course-icon">🗄️</span>
<h2 class="course-title">Database Design & SQL</h2>
<span class="level-badge level-beginner">🟢 เริ่มต้น</span>
<p class="course-desc">
เรียนรู้ SQL และการออกแบบฐานข้อมูลที่ QA ใช้ทุกวันแต่ลืมได้ง่าย ครอบคลุม SELECT/WHERE, PRIMARY KEY, FOREIGN KEY, Normalization, JOIN (INNER/LEFT), Data Type/BOOLEAN, GROUP BY, Data Integrity Check และ NULL Handling — รันคำสั่ง SQL จริงในเบราว์เซอร์ด้วย AlaSQL บนสคีมาที่จำลองจากข้อมูล Holdings จริงของ My-Investment-Port
</p>
<div class="tags">
<span class="tag">FOREIGN KEY</span>
<span class="tag">Normalization</span>
<span class="tag">JOIN</span>
<span class="tag">18 Lessons</span>
</div>
<div class="track-progress" id="progress-sql">
<div class="track-progress-bar"><div class="track-progress-fill"></div></div>
<span class="track-progress-text">0/18 บทเรียน (0%)</span>
</div>
<a href="./DB-Design-SQL/index.html" class="btn btn-sql">เข้าสู่บทเรียน →</a>
</div>
<!-- Git, Vim & Unix Cheat Sheet Course Card -->
<div class="course-card card-cli" id="card-cli">
<span class="course-icon">⌨️</span>
<h2 class="course-title">Git, Vim & Unix Cheat Sheet</h2>
<span class="level-badge level-beginner">🟢 เริ่มต้น</span>
<p class="course-desc">
คำสั่ง Git, Vim และ Unix ที่ QA ใช้บ่อยแต่ลืมง่าย — git stash แบบมีป้ายกำกับ, เปิดใช้ custom git hooks, เอาตัวรอดใน Vim ตอนหลุดเข้า editor, และ safe script header (set -euo pipefail) ที่ใช้จริงในทุกสคริปต์ของ Kouen
</p>
<div class="tags">
<span class="tag">Git</span>
<span class="tag">Vim</span>
<span class="tag">Unix Shell</span>
<span class="tag">66 Lessons</span>
</div>
<div class="track-progress" id="progress-cli">
<div class="track-progress-bar"><div class="track-progress-fill"></div></div>
<span class="track-progress-text">0/66 บทเรียน (0%)</span>
</div>
<a href="./CLI-Essentials/index.html" class="btn btn-cli">เข้าสู่บทเรียน →</a>
</div>
<!-- Security Testing Course Card -->
<div class="course-card card-security" id="card-security">
<span class="course-icon">🔒</span>
<h2 class="course-title">Security Testing</h2>
<span class="level-badge level-intermediate">🟡 ปานกลาง</span>
<p class="course-desc">
การทดสอบความปลอดภัยจากมุมมอง QA (ไม่ใช่ Pentest) — Auth Bypass, Injection Awareness, XSS Prevention, Sensitive Data Exposure และ Security Headers อิงจาก validateApiKey middleware จริงของ My-Investment-Port และช่องโหว่ error-message-leak จริงที่เจอระหว่างเตรียมบทเรียน
</p>
<div class="tags">
<span class="tag">Auth Bypass</span>
<span class="tag">Injection</span>
<span class="tag">XSS</span>
<span class="tag">13 Lessons</span>
</div>
<div class="track-progress" id="progress-security">
<div class="track-progress-bar"><div class="track-progress-fill"></div></div>
<span class="track-progress-text">0/13 บทเรียน (0%)</span>
</div>