77
88 <!-- Bootstrap 5 CSS -->
99 < link href ="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css " rel ="stylesheet ">
10-
11-
1210</ head >
1311< body >
1412
@@ -36,8 +34,15 @@ <h1 class="display-6 mb-2">🚀 JS Playground</h1>
3634 < p class ="lead mb-3 "> A compact collection of small JavaScript projects — clean, responsive, and easy to extend.</ p >
3735
3836 < div class ="input-group search-field ">
39- < span class ="input-group-text bg-white border-end-0 "> < svg xmlns ="http://www.w3.org/2000/svg " width ="16 " height ="16 " fill ="currentColor " class ="bi bi-search " viewBox ="0 0 16 16 "> < path d ="M11 6a5 5 0 1 1-10 0 5 5 0 0 1 10 0z "/> < path d ="M12.9 11.3 15 13.4 13.4 15l-2.1-2.1A6.5 6.5 0 1 1 12.9 11.3z "/> </ svg > </ span >
40- < input id ="search " type ="search " class ="form-control border-start-0 " placeholder ="Search projects (press / to focus) " aria-label ="Search projects ">
37+ < span class ="input-group-text bg-white border-end-0 ">
38+ < svg xmlns ="http://www.w3.org/2000/svg " width ="16 " height ="16 " fill ="currentColor "
39+ class ="bi bi-search " viewBox ="0 0 16 16 ">
40+ < path d ="M11 6a5 5 0 1 1-10 0 5 5 0 0 1 10 0z "/>
41+ < path d ="M12.9 11.3 15 13.4 13.4 15l-2.1-2.1A6.5 6.5 0 1 1 12.9 11.3z "/>
42+ </ svg >
43+ </ span >
44+ < input id ="search " type ="search " class ="form-control border-start-0 "
45+ placeholder ="Search projects (press / to focus) " aria-label ="Search projects ">
4146 < button id ="clearSearch " class ="btn btn-outline-secondary d-none " type ="button "> Clear</ button >
4247 </ div >
4348 < small class ="text-muted d-block mt-2 "> Filter projects by name or description.</ small >
@@ -50,15 +55,17 @@ <h1 class="display-6 mb-2">🚀 JS Playground</h1>
5055
5156 < section id ="apps " class ="mb-5 ">
5257 < h2 class ="h4 mb-3 "> Projects</ h2 >
53-
5458 < div id ="projectsGrid " class ="row g-3 ">
5559 <!-- Cards rendered by JS -->
5660 </ div >
5761 </ section >
5862
5963 < section id ="about " class ="pt-4 ">
6064 < h2 class ="h5 "> About</ h2 >
61- < p class ="text-muted small "> This single-page layout uses Bootstrap for a clean and responsive presentation. Each card links to the project folder — ensure paths match your filesystem structure.</ p >
65+ < p class ="text-muted small ">
66+ This single-page layout uses Bootstrap for a clean and responsive presentation.
67+ Each card links to the project folder — ensure paths match your filesystem structure.
68+ </ p >
6269 </ section >
6370 </ main >
6471
@@ -72,8 +79,9 @@ <h2 class="h5">About</h2>
7279 <!-- Bootstrap JS (with Popper) -->
7380 < script src ="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js "> </ script >
7481
82+ <!-- Main Script -->
7583 < script src ="main.js "> </ script >
76- // Data for projects - keep paths as in your filesystem
77-
84+ <!-- Data for projects is defined in main.js (update this file when adding/removing projects) -->
85+
7886</ body >
7987</ html >
0 commit comments