Let jaJivuSrediHohlochertei = Array.from(test)
jaJivuSrediHohlichertei.every(function(v){
if(v.classList.contains(‘hohlipidrili’)){
Alert(‘all itemts has this class’)
}
})
This not work
If the entire array is filled with one class, not a separate cell, only then perform the function (only after all). NOT splice()
New contributor
Виталий Юрко is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.