Giter Club home page Giter Club logo

khumbulani9 / workday_scheduler Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kaitlynatif/workday_scheduler

0.0 0.0 0.0 3 MB

A simple calendar application that allows a user to save events for each hour of the day. This app will run in the browser and feature dynamically updated HTML and CSS powered by jQuery.

Home Page: https://kaitlynatif.github.io/WorkDay_Scheduler/

License: MIT License

JavaScript 21.63% CSS 12.30% HTML 66.07%

workday_scheduler's Introduction

05 Third-Party APIs: Work Day Scheduler

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.

Application Description

This is a simple calendar application (utilizing JQuery, Local Storage, and Day.js) that allows a user to save events for each hour of the day. HTML and CSS are dynamically updated according to the time--the background colors of the time blocks are adjusted based upon the classification of the time event (past, present, or future.) The user inputs calendar items into the text area, and clicking the save buttons sets the items into local storage. The added calendar items persist on the page after refresh.

User Story

AS AN employee with a busy schedule
I WANT to add important events to a daily planner
SO THAT I can manage my time effectively

Acceptance Criteria

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

The following animation demonstrates the application functionality:

Pseudo Code for HTML

  1. A main header.
  2. Div element within container fluid
  3. List of time blocks with 24hr to 12hr conversion
  4. Text input fields
  5. Save buttons
  6. Font families
  7. Bootstrap component
  8. Jquery links

Pseudo Code for CSS

  1. HTML attributes and classes

Pseudo Code for JavaScript

  1. Tells engine to load HTML and CSS first.
  2. Displays current time and date.
  3. Get nearby values.
  4. Takes change from sibling HTML description attribute.
  5. Takes change from parent HTML ID attribute.
  6. Sets items to local storage.
  7. Loads saved data from local storage for each hour created. Should follow HTML 24h to 12 h conversion.
  8. Gets current number of hours.
  9. Use of Day.js
  10. Loops over time blocks.
  11. Checks if time is past, present, future. Clicks into HTML/CSS given classes of past, present, future.
  12. Re-runs function.

Below are images of the user interface of the calendar as displayed to the user:

A user clicks on slots on the color-coded calendar and edits the events. A user clicks on slots on the color-coded calendar and edits the events.

URL to deployed application: https://kaitlynatif.github.io/WorkDay_Scheduler/

URL to GitHub repository: https://github.com/kaitlynatif/WorkDay_Scheduler

For any questions, please contact me at [email protected]

License

MIT License

Copyright (c) [2023] [Kaitlyn Atif]

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.

workday_scheduler's People

Contributors

kaitlynatif avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.