Next I used the code from moments.js to get the current date and append it to the site header using the id currentDay.
The current hour needed to be coded so the applicaton could have a reference to the time.
Then the updatedHour function was created to check to see if the time slots are in the past, present, or future. Then assigning CSS properties to the timeslots that meet the conditions based on its relative time to the actual hour it is.
An interval was set to allow the application to refresh the hour every 10 minutes.
The function is used to add the click function to the save buttons for each respective timeslot and save the user input to the local storage.
Lastly it is important to get the user input from the local storage by assigning the stored values to their respective timeslot elements.