A simple calendar application that allows a user to save events for each hour of the day. This app runs in the browser and features dynamically updated HTML and CSS powered by jQuery.
- Pulls and outputs current week day, full date, and current time via Moment.js
- If time block is in the past, circle and date are gray and textarea is muted
- If time block is in the future, circle is blue and date and textarea are at full opacity
- If time block is current, circle animates with border pulse
- If time is after work hours, header color and image change to night mode and alert is diplayed
- Textarea data saves to local storage automatically when you click out of it
- If data is stored in local storage, it auto populates on page load
- Textarea height gets taller if text is longer than the default height
Pull week day, long date, and current time via Moment.jsDisplay week day, and long date in the headerStore data to local storage when submittedPull data from local storage to automatically appear on page refreshAssign time blocks to actual timesIf time block is in the past, gray the circle and time, and mute the textareaIf time block is current hour, display blue circle with animationIf time block is in the future, display blue circleIf time isn't between 9-5, display after hours messageIf time isn't between 9-5, swap out header day image with night imageIf time isn't between 9-5, update header colorUtilize loops to populate the data on the pageUpdate last time block form to have a border-bottomHave the textarea height get taller if the text is longer than the default heightAutomatically "save" an entry by hitting the enter key or clicking out of the textarea