I upload my code on gitlab.com here is the link...
When I click on download button I'm getting download is not a function error on the console like this...
Uncaught TypeError: download is not a function
at HTMLAnchorElement.onclick
I set onClick listener on every download button but didn't understand it's throw error. Please help me figure out what's wrong with my code.