JavaScript
1
Вклад в тег
[{...}, {...}, {...}]
let area = document.querySelectorAll('.area')
area.forEach(area => {
area.classList.remove('active')
})
let area = document.querySelectorAll('.area')
area.forEach((area, key) => {
area.classList.remove('active');
console.log(key);
})