diff --git a/files/en-us/web/api/indexeddb_api/checking_when_a_deadline_is_due/index.html b/files/en-us/web/api/indexeddb_api/checking_when_a_deadline_is_due/index.html index fcfe1ec1c4d160a..0370b713678ed95 100644 --- a/files/en-us/web/api/indexeddb_api/checking_when_a_deadline_is_due/index.html +++ b/files/en-us/web/api/indexeddb_api/checking_when_a_deadline_is_due/index.html @@ -13,9 +13,9 @@

In this article we look at a complex example involving checking the current time and date against a deadline stored via IndexedDB. The main complication here is checking the stored deadline info (month, hour, day, etc.) against the current time and date taken from a Date object.

-

A screenshot of the sample app. A red main title saying To do app, a test to-do item, and a red form for users to enter new tasks

+

A screenshot of the sample app. A red main title saying To do app, a test to-do item, and a red form for users to enter new tasks

-

The main example application we will be referring to in this article is To-do list notifications, a simple to-do list application that stores task titles and deadline times and dates via IndexedDB, and then provides users with notifications when deadline dates are reached, via the Notification, and Vibration APIs. You can download the To-do list notifications app from github and play around with the source code, or view the app running live.

+

The main example application we will be referring to in this article is To-do list notifications, a simple to-do list application that stores task titles and deadline times and dates via IndexedDB, and then provides users with notifications when deadline dates are reached, via the Notification, and Vibration APIs. You can download the To-do list notifications app from github and play around with the source code, or view the app running live.

The basic problem

@@ -27,7 +27,7 @@

Recording the date information

To provide a reasonable user experience on mobile devices, and to cut down on ambiguities, I decided to create an HTML form with:

-

The form of the to-do app, containing fields to fill in a task title, and minute, hour, day, month and year values for the deadline.

+

The form of the to-do app, containing fields to fill in a task title, and minute, hour, day, month and year values for the deadline.