filtrus = function() {
var selects = document.getElementsByClassName('ch');
var items = document.getElementsByClassName('itemd');
for (i=0; i < items.length; i++) {
res = selects.every(function(select){
select = select.getElementsByClassName('check');
items[i].some(function(item) {
item = item.getAttribute('class').split(' ');
select.includes(item);
})
});
console.log(res);
}
}