utils/script.js
//add a function that loads on page load grabbing todays date and adding it to the text content .
add a function that loads on page load grabbing todays date and adding it to the text content .
add a function that loads on page load grabbing todays date and adding it to the text content .
function currentTime(){
    var momentDay = moment().format("ddd, hA");
    var dayEl = $("p#currentDay").html(momentDay);
    if(moment().isAfter(dayEl)){
        textArea.addClass("list-group-item-danger");
    }
    console.log()
}
function currentTime ( ) { var momentDay = moment ( ) . format ( "ddd, hA" ) ; var dayEl = $ ( "p#currentDay" ) . html ( momentDay ) ; if ( moment ( ) . isAfter ( dayEl ) ) { textArea . addClass ( "list-group-item-danger" ) ; } console . log ( ) }
add a function that loads on page load grabbing todays date and adding it to the text content .
add a function that loads on page load grabbing todays date and adding it to the text content .
// var currentMoment = moment().format("ddd, hA"); // var currentDay = $("#currentDay").innerText[currentMoment];