i got the currenttime value and if the currenttime is equal to the row time of the workday planner,it should display a color. if current time is more than the row time ,the text area should display a different color. if current time is less than the row time ,then text area should display a different color.
<div id="9" class="row">
        <div class="col-2 col-md-1 hour text-center py-3">9AM</div>
        <textarea class="col-8 col-md-10 description" rows="3" id="txtarea"> </textarea>
        <button class="btn saveBtn col-2 col-md-1" aria-label="save">
          <i class="fas fa-save" aria-hidden="true"></i>
        </button>
      </div>
      <div id="10" class="row">
        <div class="col-2 col-md-1 hour text-center py-3">10AM</div>
        <textarea class="col-8 col-md-10 description" rows="3" id="txtarea"> </textarea>
        <button class="btn saveBtn col-2 col-md-1" aria-label="save">
          <i class="fas fa-save" aria-hidden="true"></i>
        </button>
      </div>
var rowlist =document.querySelectorAll(".row");
var rowlistarr= Array.from(rowlist);
var index=0;
function timeblock()
{
  for(index=0;index<rowlistarr.length;index++){
    if(time =rowlistarr){
      var areacolor=document.getElementById("#textarea").innerHTML;
     areacolor.style.color="Yellow";
    }
else if(time<rowlistarr)
{
  var areacolor=document.getElementById("#textarea").innerHTML;
     areacolor.style.color="Yellow";
}
else if(time>rowlistarr)
{
  var areacolor=document.getElementById("#textarea").innerHTML;
  areacolor.style.color="Yellow";
}
    //console.log(rowlist[index]);
  }
}
 
     
    