Initial commit
This commit is contained in:
7
playarea/assets/main/js/faqs.js
Normal file
7
playarea/assets/main/js/faqs.js
Normal file
@@ -0,0 +1,7 @@
|
||||
const showBtns = document.querySelectorAll('.show-btn');
|
||||
|
||||
showBtns.forEach(btn => {
|
||||
btn.addEventListener('click', () => {
|
||||
btn.parentElement.parentElement.classList.toggle('hideItem')
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user