Skip to content

rob49157/work-day-scheduler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

work-day-scheduler

The purpose of the app is the create a day planer for the user normal workday hours from 9-5. Each table will change to color "red" as time passes by.

html- bootstrap

time setup- use jsquery "moment()" function to get the current time and date. to create the table i needed to get code from bootstrap and added text area, so the user can input whatever they need. To the right of the table if you click the emoji it will save the inpu to the loal storage.

script.js

  • current time: needed to use the moment().format("MMM Do, YYYY HH:mm:ss ") to get current time. the time was static, so in order to have a running clock i had to run it thru a setintert().

  • changing colors: to change the colors of each row base on what time it is, i need to use jquary to get the "tr" element from the index.html. Then i convert the variables into intergers to a conditional statement. Base on the result of the condition the color changes.

  • local storage: save user input to local storage. Then retrive with getitem.

commit history

https://github.com/rob49157/work-day-scheduler/commits/main

deployed link

https://rob49157.github.io/work-day-scheduler/

screenshot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors