Tracking of whether or not the user is online has been added. In the top right corner a green text box indicates the user is online, and a red text box indicates the user is offline. Tracking of the online/offline status is done using navigator.onLine. In this diary app, an html form allows the user to create diary entries with a subject and an entry. The user's geolocation is retrieved and added to the entry. Data is kept in an array of JavaScript objects and in localStorage. The user can also delete their entries by clicking on the delete (x) icon as well as sliding. jQuery Mobile 1.4.0 is now used for its more modern readable UI. These features were added in Assignment 3.
ANIMATION AND TRANSITION: There's a css animation of the opacity as an entry is opened and a css transition of the opacity and font-style on hover over the subject, features already implemented in Assignment 2.
OPTIONAL section: Took a cautious approach by duplicating files from part 1, and adding c to the name of each file so as to keep part 1 intact.
A cache manifest file, diaryc.appcache was created and is referenced from diaryc.html manifest attribute. It simply caches the app files (including b1c.js and b1c.css) as well as the required jQuery and jQuery Mobile libraries. diaryc.appcache was checked with the cache manifest validator at http://manifest-validator.com
Project files: index.html, diary.html, b1.js, b1.css and diaryc.html, b1c.js, b1c.css for appcache part.