mjsouthcott / 05-day-planner

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Day Planner

Description

This application provides a simple calendar that allows users to save events for each standard business hour of the day. It runs in the browser, and features dynamically updating HTML and CSS, powered by jQuery.

This application meets all of the acceptance criteria specified by the customer:

  • The current date and time are displayed at the top of the calendar.
  • The user is presented with time blocks for each standard business hour.
  • Each time block is colour-coded to indicate if it is in the past, present or future.
  • When the user clicks on a time block, they can enter event text.
  • When the user clicks the save button for each time block, the event text is stored in localStorage.
  • When the page is refreshed, the saved events persist.

Installation

Click on the following URL to view the website in your browser: https://mjsouthcott.github.io/05-day-planner/.

Usage

  1. Click on the text area in the center of a time block to add an event.

Step 1

  1. Click the save button to the right of the text area to save the event. In this example, "Walk the dog" and "Make dinner" are saved, but "Call home" is not.

Step 2

  1. If you refresh the page, saved events will persist. As you can see, "Walk the dog" and "Make dinner" are still there, but "Call home" is not.

Step 3

Credits

Matthew Southcott, Full Stack Developer, Company X

License

MIT License

Copyright (c) 2020 Matthew James Southcott

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About


Languages

Language:JavaScript 59.3%Language:CSS 22.6%Language:HTML 18.1%