props: ['yellow', 'blue', 'green', 'red'],
var cells = document.querySelectorAll('td');
cells.forEach(function(element) {
if(y && element.innerText.includes(y))
element.classList.add('yellow');
else if(b && element.innerText.includes(b))
element.classList.add('blue');
else if(g && element.innerText.includes(g))
element.classList.add('green');
else if(r && element.innerText.includes(r))
element.classList.add('red');
else if(element.innerText.includes('by appointment'))
element.classList.add('by-appointment');
else if(element.innerText.includes('unavailable'))
element.classList.add('unavailable');
// console.log(element.innerText);
background-color: gainsboro;
text-decoration: underline;
text-transform: capitalize;
background-color:rgba(255, 251, 0, 0.185);
background-color:rgba(0, 68, 255, 0.185);
background-color:rgba(21, 255, 0, 0.185);
background-color:rgba(255, 0, 0, 0.185);