Skip to content

Commit 9dc2e9a

Browse files
committed
add support for CSS and PHP skill filtering
1 parent 72b960f commit 9dc2e9a

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

themes/vocabulary_theme/templates/project-ideas.html

+3
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ <h1>Open Source Internships: Project Ideas</h1>
2828
<button type="button" class="button tag filter-btn" data-filter="skill-javascript">
2929
Skill: JavaScript
3030
</button>
31+
<button type="button" class="button tag filter-btn" data-filter="skill-php">
32+
Skill: PHP
33+
</button>
3134
<button type="button" class="button tag filter-btn" data-filter="skill-python">
3235
Skill: Python
3336
</button>

webpack/js/ideas.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ $(document).ready(function(){
1717
'difficulty-easy',
1818
'difficulty-medium',
1919
'difficulty-hard',
20+
'skill-css',
2021
'skill-javascript',
22+
'skill-php',
2123
'skill-python',
2224
'skill-wordpress',
2325
'skill-writing'
@@ -92,4 +94,4 @@ $(document).ready(function(){
9294
toggleBtn($(this));
9395
return showIdeas(selected);
9496
});
95-
});
97+
});

0 commit comments

Comments
 (0)