const btnAll = document.querySelectorAll('.btn')
for (let index = 0; index < btnAll.length; index++) {
const btn = btnAll[index]
btn.addEventListener('click', (event) => {
btnAll.forEach((element) => {
element.classList.remove('active')
})
btn.classList.add('active')
})
}