Giter Site home page Giter Site logo

todo-app's Introduction

ToDo SPA

Vanilla JavaScript app that lets the user create To-Do tasks and track completion. Mobile friendly.

Description

  • Allows the user to create a list of tasks (for the day, week, month or year!) and to check them off as they are completed.
  • Filtering has been included, so that the user is able to have an overview of ALL tasks (regardless of completion status), as well as additional filtering for tasks that are PENDING, or are marked as COMPLETED.
  • User is able to edit existing tasks.
  • User is able to delete tasks.
  • The application has access to localStorage (JSON), and will update the localStorage after actions are performed.
  • The application has validation included to check that inputs are not empty, and that a valid date has been selected. You cannot add a task to the past, only for the same day and beyond. You will not be able to add a task unless those validations pass.
  • When the date for a task has passed, task due date will be highlited in red to alert the user.

Using the SPA

  • Open index.html
  • Page renders, and the user is presented with the app in the center of the viewport.
  • User needs to enter task info into first text field, and then select the date which the user wants to be completed by.
  • User adds the current task to the app, by clicking on the yellow button right after selecting the due date.
  • Should the user pass validation (no empty selections, and not selecting a date in the past) their task will be outputted into the tasks list to be viewable.
  • Filtering can be used to track/see All tasks, Pending tasks and Completed tasks.
  • User has the option to edit/delete task details by clicking on the three dots to the right of the entry.
  • Closing the browser or the tab will not destroy your tasks - localStorage has been used to store and retrieve data (JSON).
  • Should the user need to remove all added tasks, regardless of count, all tasks may be removed (and from localStorage) by clicking on the CTA button "Clear All".

Dependencies

  • Windows/MacOS
  • A broswer of your choice (tested in Chrome and Firefox - latest versions). Should work fine for other browsers such as Opera, Edge, Safari etc.
  • Please ensure your broswer does not have JavaScript disabled within its settings, if you are facing issues.

todo-app's People

Contributors

justintimez avatar

Watchers

 avatar

Forkers

schalkventer

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.