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 }) => {
30
30
<label for =" level-filter" class =" font-semibold text-gray-700 text-lg" >Python Level:</label >
31
31
<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" >
32
32
<option value =" " >All Levels</option >
33
- <option value =" Any" >Any</option >
34
33
<option value =" Beginner" >Beginner</option >
35
34
<option value =" Intermediate" >Intermediate</option >
36
35
<option value =" Advanced" >Advanced</option >
@@ -87,7 +86,7 @@ const sprints = await getCollection("sprints", ({ data }) => {
87
86
const cardElement = card as HTMLElement;
88
87
const pythonLevel = cardElement.getAttribute('data-python-level');
89
88
90
- const levelMatch = !selectedLevel || pythonLevel === selectedLevel;
89
+ const levelMatch = !selectedLevel || pythonLevel === selectedLevel || pythonLevel === 'Any' ;
91
90
92
91
if (levelMatch) {
93
92
cardElement.style.display = 'block';
You can’t perform that action at this time.
0 commit comments