@@ -525,67 +525,50 @@ <h1>
525525 </ nav >
526526
527527 < main id ="main-content " tabindex ="-1 ">
528-
529528 <!-- Hero Section -->
530529 < section class ="hero-section " aria-label ="Welcome ">
531530 < div class ="hero-background "> </ div >
532531 < div class ="container ">
533532 < div class ="hero-content ">
534533 < h2 class ="hero-title "> Learn Python the Fun Way!</ h2 >
535- < p class ="hero-subtitle "> 25+ Mini Projects • Beautiful UI • Beginner Friendly • Zero Dependencies
536- </ p >
534+ < p class ="hero-subtitle "> 25+ Mini Projects • Beautiful UI • Beginner Friendly • Zero Dependencies</ p >
537535
538- < div class ="hero-features ">
539- < div class ="feature-badge " role ="button " tabindex ="0 "
540- onclick ="document.querySelector('.tab[data-category=games]').click(); document.querySelector('.projects-section').scrollIntoView({behavior: 'smooth', block: 'start'}); "
541- style ="cursor: pointer; ">
536+ < div class ="hero-features " role ="tablist " aria-label ="Project categories ">
537+ < button class ="feature-badge tab active " data-category ="all "
538+ role ="tab " aria-selected ="true " tabindex ="0 ">
539+ < span class ="feature-icon "> 🌟</ span >
540+ < span class ="feature-label "> All Projects</ span >
541+ </ button >
542+ < button class ="feature-badge tab " data-category ="games "
543+ role ="tab " aria-selected ="false " tabindex ="-1 ">
542544 < span class ="feature-icon "> 🎮</ span >
543545 < span class ="feature-label "> Games</ span >
544- </ div >
545- < div class ="feature-badge " role ="button " tabindex ="0 "
546- onclick ="document.querySelector('.tab[data-category=math]').click(); document.querySelector('.projects-section').scrollIntoView({behavior: 'smooth', block: 'start'}); "
547- style ="cursor: pointer; ">
546+ </ button >
547+ < button class ="feature-badge tab " data-category ="math "
548+ role ="tab " aria-selected ="false " tabindex ="-1 ">
548549 < span class ="feature-icon "> 🔢</ span >
549550 < span class ="feature-label "> Math</ span >
550- </ div >
551- < div class ="feature-badge " role ="button " tabindex ="0 "
552- onclick ="document.querySelector('.tab[data-category=utilities]').click(); document.querySelector('.projects-section').scrollIntoView({behavior: 'smooth', block: 'start'}); "
553- style ="cursor: pointer; ">
551+ </ button >
552+ < button class ="feature-badge tab " data-category ="utilities "
553+ role ="tab " aria-selected ="false " tabindex ="-1 ">
554554 < span class ="feature-icon "> 🔐</ span >
555555 < span class ="feature-label "> Utilities</ span >
556- </ div >
557- </ div >
558-
559- < button class ="btn-explore " id ="exploreBtn " aria-label ="Explore all projects ">
560- Explore Projects →
561- </ button >
562- </ div >
563- </ div >
564- </ section >
565-
566- <!-- Search & Category Tabs -->
567- < section class ="tabs-section " aria-label ="Search and Project categories ">
568- < div class ="container ">
569- < div class ="tabs-wrapper ">
570- < div class ="tabs " role ="tablist " aria-label ="Project categories ">
571- < button class ="tab active " data-category ="all " role ="tab " aria-selected ="true " tabindex ="0 "> 🌟
572- All Projects</ button >
573- < button class ="tab " data-category ="games " role ="tab " aria-selected ="false " tabindex ="-1 "> 🎮
574- Games</ button >
575- < button class ="tab " data-category ="math " role ="tab " aria-selected ="false " tabindex ="-1 "> 🔢
576- Math</ button >
577- < button class ="tab " data-category ="utilities " role ="tab " aria-selected ="false " tabindex ="-1 "> 🔐
578- Utilities</ button >
556+ </ button >
579557 <!--
580558 PLAYGROUND TAB
581559 data-category="playground" is detected by main.js
582560 and delegates to window.playgroundAPI instead of
583561 running applyCategoryFilter().
584562 -->
585- < button class ="tab " data-category ="playground " id ="playgroundTab " role ="tab "
586- aria-selected ="false " tabindex ="-1 "> 🐍 Playground</ button >
563+ < button class ="feature-badge tab " data-category ="playground " id ="playgroundTab "
564+ role ="tab " aria-selected ="false " tabindex ="-1 ">
565+ < span class ="feature-icon "> 🐍</ span >
566+ < span class ="feature-label "> Playground</ span >
567+ </ button >
587568 </ div >
588- < button class ="btn-random-project " id ="randomProjectBtn " title ="Discover a random project! ">
569+
570+ < button class ="btn-random-project " id ="randomProjectBtn "
571+ title ="Discover a random project! ">
589572 < i class ="fas fa-dice "> </ i > Random Project 🎲
590573 </ button >
591574 </ div >
0 commit comments