Thanks for contributing: Once code is merged, you can verify functionality directly here: https://mjrdnk.github.io/introduction-to-web-programming/
By checking git tags
git tag -l
you can jump between parts of this workshop's code:
- step-1 - added HTML structure with classes
- step-2 - added styles in <style /> tag
- step-3 - added adding, removing and marking todo as done
- step-4 - added Firebase with Firestore
Project is using Firebase. It is necessary to add your Firebase project's config:
To use with database, please clone .env.example.js file like this inside this project's directory:
cp .env.example.js .env.js
Please replace the values with your Firebase values.
-
Sort todos in descending manner by
creationDate
. To achieve this task you will need to addcreationDate
to saved todo. Unix millisecond timestamp represents date and it is also a number, so maybe it is a good idea to use it here. -
...