格 千格 KiloCell

• To-dos online

Light local list: Add, tick, filter and clear, and data are saved in the current browser.

0 not completed

Full-to-do guide

To-do is a local light list: each mission has id(timetips)text(tasks),completed(Whether or not it is completed). Data saved in localStorage Keys todos。 Pages provide additions, tick completion, filtering (full/complete/complete), single deletions, batch clearances completed, and bottom "N-not completed" statistics. Before the task file is rendered escapeHtml Convert, reduce the risk of HTML injection. It is appropriate for “what to do today” and not for “day-to-day re-playing”.

Interface and real-world correspondence

  • Enter box placeholder for "Add New Job...", dot "Add" or press Enter to call addTodo()。
  • Filter button:setFilter('all'|'active'|'completed'), affect only display, not delete data.
  • Left box:toggleTodo(id) Switching completion; Finishs the strikeout style of the entry.
  • Right "X":deleteTodo(id) Delete the single article.
  • Clear finished: reservation not completed, filtered completed === true the item.
  • The list is empty and shows "no task at hand". At the bottom, show the number of incompletes in real time.

Recommended Workstream

  1. Write down three things that must be done today in the morning, keep the entries short and implementable.
  2. Check left-hand box after completion; The filter is not finished when it is not completed.
  3. The list is kept clean by clicking on the "completed" list.
  4. The expired or cancelled task is deleted with the word "x" and is not confused with the actual to-do.
  5. If the task is a daily practice, please move to the customary tracking to avoid an unlimited expansion of the pending tasks.

Apply scene

  • Personal To-do, shopping lists, learning missions to be dismantled
  • Quick recording of action items in meetings (check-out after meeting)
  • Do not want to register Todo applications, save only for current browser tasks
  • Disassembly big missions into short missions and lower the start-up resistance.

Borders and restrictions

  • No deadline, priority field, sub-task or reminder.
  • No clouds synchronizing; The equipment won't be automatically carried. todos。
  • Clears the site data and loses all tasks.
  • The filter status has memory variables filter, refresh and return to the default "all".
  • There is no drag-and-sort, label grouping or sharing collaboration.

FAQ

Can you add an empty task?

Can't. addTodo() Organisation trim(), empty string directly returns.

And how do you choose to follow them?

One-time services to be provided; The daily repeater is routinely tracked. For example, "Booking a weekly newspaper" is to be done, and "Book a diary every day" is a habit.

Does HTML work in the mission?

Displays are transposed, usually when they are displayed in plain text, rather than when the labels are executed.

Can Clean Up Finish Undo?

Can't. Write back to localStorage immediately after execution, and the page is not unset.

Where's the data?

Local Storage Keys for Browser Under Current Site Source todos, will not be uploaded as task elements into the server logic.

Why did the filter go back to "all" after it was refreshed?

Because the filter condition is not sustained, only those that are saved while the page is running filter (a) within the variable; The mission data itself will remain.

Practical skills and errors

The task is written using the term "verb + object + completion criteria" as much as possible, such as "submission of invoice claims (with annexes)" and "reimbursement" more easily than "reimbursement". If the list suddenly becomes empty, confirm whether the " cleared completed " or site data have been counted; The filter cuts to "all" and then looks at it. When the same browser multiple tabs are edited and later written todos Only one label operation is recommended to override the first written version. If you need to cross the device, copy the text back-up yourself, and there is no export button on this page.

How does this fit with other tools at this station?

Depth work can be done by counting the time with tomatoes before the task is marked with this page; Please place the matter in the customary track. Long notes can be checked on the word count pages before being broken into short to-dos, avoiding excessive tasks that delay the start of a task.