https://todotrackerjs.herokuapp.com
- First, download the files TodoTracker.js and TodoTracker.css and import them in your HTML file.
<script defer src="todotracker.js"></script>
<link rel="stylesheet" href="todotracker.css">
- Create a TodoTracker object in your JavaScript file. With no parameters, the default will span over 4 months starting from the current one, and have a blue theme.
const todo = new TodoTracker()
Then you can add it before, after, or append it to any container in the DOM.
todo.addAfter('.title')
Check out the full documentation here: