I'm doing a Bingo without JQuery. When I generate a number, the programm change the background-color to red.
var elems = document.getElementsByClassName(random1);
for(var m = 0; m < elems.length; m++) {
elems[m].style.backgroundColor = 'red';
}
Is possible check if the div has background color?