The task here is to create a simple calendar application that allows a user like me to save my daily schedule between the time of 7am to 12 am (midnight) including important events to manage my time effectively. This app will run in the browser and feature HTML, CSS powered by jQuery.
The name of the repository is WORK_DAY_SCHEDULER to identify that this is a scheduler or planner to manage the time effectively.
The URL of the GiHub repository is :-
https://github.com/stellalph/WORK_DAY_SCHEDULER.git
The URL of the functional deployed application is -
https://stellalph.github.io/WORK_DAY_SCHEDULER/
- HTML
- CSS Bootstrap
- jQuery
- Moment.js
- The Materials from The Unit Ahead : The Third Party APIs which includes the Moment.js Cheat Sheet.
- Google and Microsoft Edge for various ideas.
The steps taken to meet the acceptance criteria of:-
GIVEN I am using a daily planner to create a schedule
WHEN I open the planner
THEN the current day is displayed at the top of the calendar
WHEN I scroll down
THEN I am presented with timeblocks for standard business hours
WHEN I view the timeblocks for that day
THEN each timeblock is color coded to indicate whether it is in the past, present, or future
WHEN I click into a timeblock
THEN I can enter an event
WHEN I click the save button for that timeblock
THEN the text for that event is saved in local storage
WHEN I refresh the page
THEN the saved events persist
-
In the WORK_DAY_SCHEDULER folder , I have created or modified the following files:-
- index.html - adding comments.
- style.css - adding comments and custom scrollbars. I have modified the original style.css to add custom colors.
- script.js - for carrying out the functions to meet the required criteria.
-
The below screenshots show the process the users would go through in recording the events or activities for the day so that they can plan or manage their time effectively.
The current date and time is displayed at the top of the calendar. The timeblocks are the standard business hours of 7am to 11 pm as we normally work or study during these hours.
*grey - the past event or activity
*the different shades of green - the present and future event or activity
The user click on the timeblock to enter their activities or events.
The user click on the save button for theat timeblock for the event to be saved in local storage.
When the page is refreshed, the entries or events persist.
Click on the "Clear Scheduler" button, the user can also clear the entries for a fresh start without going to the timeblocks and clear the entries.