File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ const sprints = await getCollection("sprints", ({ data }) => {
3030 <label for =" level-filter" class =" font-semibold text-gray-700 text-lg" >Python Level:</label >
3131 <select id =" level-filter" class =" px-4 py-2 border border-gray-300 rounded-lg bg-white text-lg min-w-[150px] focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent" >
3232 <option value =" " >All Levels</option >
33- <option value =" Any" >Any</option >
3433 <option value =" Beginner" >Beginner</option >
3534 <option value =" Intermediate" >Intermediate</option >
3635 <option value =" Advanced" >Advanced</option >
@@ -87,7 +86,7 @@ const sprints = await getCollection("sprints", ({ data }) => {
8786 const cardElement = card as HTMLElement;
8887 const pythonLevel = cardElement.getAttribute('data-python-level');
8988
90- const levelMatch = !selectedLevel || pythonLevel === selectedLevel;
89+ const levelMatch = !selectedLevel || pythonLevel === selectedLevel || pythonLevel === 'Any' ;
9190
9291 if (levelMatch) {
9392 cardElement.style.display = 'block';
You can’t perform that action at this time.
0 commit comments