For this homework assignment, I created a work day task list, broken down by hour. The user first sees a page with the title "Work Day Scheduler" and the current date/time at the top. The user then sees a list broken down by a range of hours. The hours represent a single day. I wrote the code so that the range of hours is configurable to any range within a 24 hour period. The default is 9:00 AM to 5:00 PM.
The user can enter a task in the text area and click "save" to save the task on the list. Leaving the page does not erase the task - when the user returns, the information is still displayed there. The background color of each textarea containing the task is either gray (past), red (present), or green (future).
I utilized Javascript and jQuery to dynamically generate the list of tasks and the date/time. Moment.js was utilized in this project as well.
- Modified provided index.html to create placeholders for data
- Wrote a function to display the main page
- Utilized Bootstrap to create the styling and HTML elements behind the task list
- Utilized jQuery to dynamically create the list and populate the list with stored tasks
- Wrote the function saveTask(), which stores the new task or modifies a current task in local storage
- Wrote the function populateContent(), which populates textareas with the task from local storage (if it exists)
- Wrote the function taskPresent(), which checks to see if a task is present in local storage and if so, returns the position of that task in the array
- Wrote the function timePosition() to calculate if a time slot on the list is in the past, present, or future (returns appropriate background color) - uses Moment.js
- Utilized GitHub to track changes and store project files
See the deployed project by following this link: https://sg0703.github.io/05_Work-Day-Scheduler/ See the code repository here: https://github.com/sg0703/05_Work-Day-Scheduler

