js/script.js
//Each timeblock should be coded to indicate present, past, future.
Each timeblock should be coded to indicate present, past, future.
Each timeblock should be coded to indicate present past future .
function timeIndicator(currentTime){
  if (hour === currentTime){
    styleRed;
    console.log("styleRed");
   } else if (hour < currentTime) {
     styleGray;
     console.log("styleGray");
    } else if (hour > currentTime){
     styleGreen;
     console.log("styleGreen");
   }
}
function timeIndicator ( currentTime ) { if ( hour === currentTime ) { styleRed ; console . log ( "styleRed" ) ; } else if ( hour < currentTime ) { styleGray ; console . log ( "styleGray" ) ; } else if ( hour > currentTime ) { styleGreen ; console . log ( "styleGreen" ) ; } }
Each timeblock should be coded to indicate present, past, future.
Each timeblock should be coded to indicate present past future .