template.js - niyogakiza/Openclassroom_Project-8 GitHub Wiki

template.js

The template.js file brings us a basic template for the items of our Todo list and allows us to set it up in the application.

  • first we define a default template for our todo.
  • show: allows us to display an item in our application.
  • itemCounter: displays a counter for the remaining todos(active)
  • clearCompletedButton: allows us to update the button that allows us to delete the todos made.