EricChen96 / Work_Day_Scheduler

Home Page:https://ericchen96.github.io/Work_Day_Scheduler/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Work_Day_Scheduler

Work Day Scheduler Main Screen

Link to site
Link to Github repository

Installation

Go to Github and download

Description

The following code quiz would create a day plan scheduler. It displays the current date and then any saved descriptions from local storage.

The user can add a description to each textbox for the hour and click the save button at the right to save that hour's entry.

Additions

Added in a reset button that appears on the bottom of the page. When the user clicks on it, it resets all the text inputs back to nothing and clears the stored data.

    $(".resetBtn").on("click", reset);

    function reset() {
        descriptionArray = {};
        localStorage.setItem("description", JSON.stringify(descriptionArray));
        for (var hourCount = 9; hourCount < 18; hourCount++) {
            var descriptiongrabEl = $("#hour-" + hourCount + " textarea");
            descriptiongrabEl.val("");
        }
    }

Partners

Collaborated with Elijah Davis and Brandon Craig

About

https://ericchen96.github.io/Work_Day_Scheduler/


Languages

Language:HTML 53.9%Language:JavaScript 29.4%Language:CSS 16.7%